Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
Algorithms Library Toolkit Core
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 43
    • Issues 43
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Algorithms Library Toolkit
  • Algorithms Library Toolkit Core
  • Issues
  • #214

Closed
Open
Opened May 28, 2021 by Tomáš Pecka@peckato1
  • Report abuse
  • New issue
Report abuse New issue

build fails on g++11 because of tclap

See https://sourceforge.net/p/tclap/bugs/33/

The temporary fix is to patch MultiArg.h and ValueArg.h:

--- MultiArg.h.old	2021-05-28 10:03:24.259444977 +0200
+++ MultiArg.h	2021-05-28 10:03:36.645101249 +0200
@@ -225,8 +225,8 @@
 	/**
 	 * Prevent accidental copying
 	 */
-	MultiArg<T>(const MultiArg<T>& rhs);
-	MultiArg<T>& operator=(const MultiArg<T>& rhs);
+	MultiArg(const MultiArg<T>& rhs);
+	MultiArg& operator=(const MultiArg<T>& rhs);

 
--- ValueArg.h.old	2021-05-28 10:03:27.202544809 +0200
+++ ValueArg.h	2021-05-28 10:03:43.847815033 +0200
@@ -240,8 +240,8 @@
        /**
         * Prevent accidental copying
         */
-       ValueArg<T>(const ValueArg<T>& rhs);
-       ValueArg<T>& operator=(const ValueArg<T>& rhs);
+       ValueArg(const ValueArg<T>& rhs);
+       ValueArg& operator=(const ValueArg<T>& rhs);
 };
Edited May 28, 2021 by Tomáš Pecka
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Oct 28, 2021
Due date
Oct 28, 2021
4
Labels
D-build D-packaging P-high external/upstream
Assign labels
  • View project labels
Reference: algorithms-library-toolkit/automata-library#214