[CMake] gcc and concept-checks
Maik Beckmann
beckmann.maik at googlemail.com
Thu May 15 16:09:45 EDT 2008
Am Donnerstag 15 Mai 2008 20:45:09 schrieb Maik Beckmann:
> I'll configure my gcc installation to use concepts-checks and I'll do some
> testing on the code at my workspace (i.e. boost) just to see how common
> this kind of STL abuse is.
Well, boost.python fails to compile due to a missing assignment operator.
However, something like this
struct Foo { std::vector<Foo> Foos};
is IMHO just wrong and should be corrected.
The hack I explained works, but commenting out
#define _GLIBCXX_CONCEPT_CHECKS 1
in c++config.h feels just better, since this is what the autotools do.
-- Maik
More information about the CMake
mailing list