Andreas Vox <[EMAIL PROTECTED]> writes: | ./configure does not include <ctype> directly, I traced it back to | ctype.h <- cctype <-iosfwd <- ios, string, streambuf, bits/stl_algobase.h > >> >> Does using <cctype> working better? > | <cctype> includes <ctype.h> | I guess <cctype> is the best place to correct this problem, cctype already | has a section for Mac where they #undef the isalpha() Macros and the like.
So this should absolutely be reported to apple. Then they can fix it. >> >> | 2 - undef _D and _R after ctype.h was included >> >> ugly bugly > | But it seems to work (I only tested the file created by ./configure), if you | put something like > | #include <ctype.h> | #undef _R | #undef _D > | in front of the other includes. Sure it will work... but then why not just comment out the "backwards compability" stuff in ctype.h? | Is there a canonical place for LyX where we could put this? | So I can test if it breaks anything else? Not really... Only if you do it in config.h, making ctype.h being included in all files. -- Lgb