On Monday 16 April 2007 20:02:33 Theodore Papadopoulo wrote: > The piece of code attached to this mail does not compile with 4.3.0 > 20070113 (sorry this is rather old, but that's what I had available). The > architecture (although not relevant IMHO) > is i686-pc-linux-gnu. > > [ Even though this is not relevant here, a similar error happens with > the redhat version gcc-4.1.1 (although the message is slightly > different and more confusing). ] > > I get the following error message: > > -> g++ -fopenmp Test.C > > Test.C: In constructor ‘R<M>::R()’: > Test.C:18: error: invalid use of incomplete type ‘struct R<M>::R()::B’ > Test.C:9: error: declaration of ‘struct R<M>::R()::B’
FWIW it gives the same error with gcc version 4.2.0 20070317 (prerelease) and gcc version 4.3.0 20070414 (experimental) Regards, ismail -- Life is a game, and if you aren't in it to win, what the heck are you still doing here? -- Linus Torvalds (talking about open source development)
signature.asc
Description: This is a digitally signed message part.