Richard Guenther wrote:

> Where is windows.h included?

I am not 100% sure yet -- the build process is in progress right
now, so I don't want to interfere. I suspect it is the one included
by gthr-win32.h. It contains the following lines:

#include <windows.h>
/* Now undef the windows BOOL.  */
#undef BOOL

so I think that adding

#undef MIN
#undef MAX

will solve the situation, but, as I said, I am not completely sure
it's the troublemaker. Firstly I would like to check whether those
are the only two bugs to be fixed. Additionally, I have no write
access to trunk (or anything else in the tree), so somebody else
should include the fix.

> During what part of compilation is CONST_CAST2 a problem?

Stage 3 in libstdc++


>
> Richard.
>
>> Best regards,
>> Piotr Wyderski
>>
>

Reply via email to