Re: [CMake] gcc and concept-checks

2008-05-16 Thread Maik Beckmann
Am Freitag 16 Mai 2008 22:58:34 schrieb Brad King: > Maik Beckmann wrote: > > Well, boost.python fails to compile due to a missing assignment operator. > > However, something like this > > struct Foo { std::vector Foos}; > > is IMHO just wrong and should be corrected. > > I've committed changes

Re: [CMake] gcc and concept-checks

2008-05-16 Thread Brad King
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 co

Re: [CMake] gcc and concept-checks

2008-05-15 Thread Rodolfo Lima
dizzy escreveu: Seems CMake is violating ISO C++ then. You may not instantiate standard library templates of incomplete types (for example, even "struct A { std::auto_ptr a; };" is invalid, C++0x will have an exception to that for shared_ptr<>, but for the standard containers that surely is the

Re: [CMake] gcc and concept-checks

2008-05-15 Thread Maik Beckmann
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 assignm

Re: [CMake] gcc and concept-checks

2008-05-15 Thread Maik Beckmann
Am Donnerstag 15 Mai 2008 17:16:32 schrieb dizzy: > Seems CMake is violating ISO C++ then. You may not instantiate standard > library templates of incomplete types (for example, even "struct A { > std::auto_ptr a; };" is invalid, C++0x will have an exception to that > for shared_ptr<>, but for the

Re: [CMake] gcc and concept-checks

2008-05-15 Thread dizzy
On Thursday 15 May 2008 15:55:46 Maik Beckmann wrote: > Hi all, > > I just download the gcc-4.3 binary distribution of mingw. It fails to > compile CMake due to > {{{ > class cmSourceGroup > { > ... > std::vector GroupChildren; // cmSourceGroup is incomplete! > }; > }}} > since libstdc++ is co

[CMake] gcc and concept-checks

2008-05-15 Thread Maik Beckmann
Hi all, I just download the gcc-4.3 binary distribution of mingw. It fails to compile CMake due to {{{ class cmSourceGroup { ... std::vector GroupChildren; // cmSourceGroup is incomplete! }; }}} since libstdc++ is compilied with --enable-concept-checks. Is gcc right? By default concept-chec