Twas a bug in MSVC7.1 (was: Re: [C++-sig] Re: Failure to deduce template argument types)

Niall Douglas s_sourceforge at nedprod.com
Tue Aug 5 04:16:02 CEST 2003


On 4 Aug 2003 at 23:54, Niall Douglas wrote:

> I thought then, right, let's come at it from the bottom up ie; start
> with the topmost base class and add those inheriting downwards. I got
> as far as FXObject (the base class) and guess what, even it won't
> compile! Currently MSVC7.1 grabs 2Gb of RAM and dies with a failure to
> allocate more stack.

I found the problem! If you try compiling the (hopefully this time) 
attached file on MSVC7.1 it dies horribly as above.

The cause?

Comment out the anonymous namespace declaration towards the middle of 
the file. It now compiles perfectly.

Nicodemus: In light of this could you fix pyste so that it never 
generates an unnamed namespace?

Is anyone in here friendly with some MS developers? Last time I tried 
submitting a bug report to MS I had to fill in a dozen forms and open 
a "support contract". Arse to that ...

Cheers,
Niall





More information about the Cplusplus-sig mailing list