[CMake] gcc and concept-checks
Brad King
brad.king at kitware.com
Fri May 16 16:58:34 EDT 2008
Maik Beckmann wrote:
> 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.
I've committed changes to avoid this for cmSourceGroup.
-Brad
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio6Generator.cxx,v <--
Source/cmLocalVisualStudio6Generator.cxx
new revision: 1.143; previous revision: 1.142
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <--
Source/cmLocalVisualStudio7Generator.cxx
new revision: 1.225; previous revision: 1.224
/cvsroot/CMake/CMake/Source/cmSourceGroup.cxx,v <--
Source/cmSourceGroup.cxx
new revision: 1.20; previous revision: 1.19
/cvsroot/CMake/CMake/Source/cmSourceGroup.h,v <-- Source/cmSourceGroup.h
new revision: 1.20; previous revision: 1.19
More information about the CMake
mailing list