HP-UX header file patch

Paolo Carlini pcarlini@suse.de
Tue Mar 6 20:23:00 GMT 2007


Steve Ellcey wrote:

>OK, it does like like this is fixed and that my patch is not needed.
>Consider it withdrawn.  I see now that the g++ cctype header includes
>ctype.h and then has undef's of these macros so if you include that
>instead of ctype.h then you don't have the macros defined.
>  
>
Exactly. I saw those undefs maybe 100000 times while working on the 
library, but before seeing that bootstrap failure, and fixing it by 
addin the the missing <cctype>, had not clear in my mind that in the C++ 
library we do provide *functions* (not macros) with the same name of the 
facilities in <ctype.h> and those undefs are therefore compulsory... 
Anyway, lesson learned.

Paolo.



More information about the Gcc-patches mailing list