catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
649 stars 67 forks source link

ClaraTests: Work around GCC bug with StringMaker specialisation #37

Closed mikecrowe closed 6 years ago

mikecrowe commented 6 years ago

Support for specialising using a qualified name was only added in C++11. Unfortunately, GCC didn't catch up until GCC7. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480 .

Revert to the C++03 method for the time being to support older GCC versions.

In particular, Debian 9 is still using GCC6 as its system compiler, so the tests don't compile there.

horenmar commented 6 years ago

Thanks.

Not sure how could such a bug survive until GCC7, though...

mikecrowe commented 6 years ago

Not sure how could such a bug survive until GCC7, though...

Indeed.

Thanks for merging.

Mike.