Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tclap does not compile with g++-11 #7

Open
travnja3 opened this issue May 11, 2021 · 0 comments
Open

Tclap does not compile with g++-11 #7

travnja3 opened this issue May 11, 2021 · 0 comments

Comments

@travnja3
Copy link

The new g++-11 (v11.1) fails to compile tclap 1.2 and even 1.4 in C++20 mode due to, I guess, an incorrect syntax used to prevent accidental copying of ValueArg, MultiArg. The syntax should be:

MultiArg(const MultiArg<T>& rhs); MultiArg& operator=(const MultiArg<T>& rhs);
Alternatively, these could be set to delete with C++11's syntax.

https://godbolt.org/z/94rv41aPe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant