Lars Gullik BjÃnnes <[EMAIL PROTECTED]> writes: > > Andreas Vox <[EMAIL PROTECTED]> writes: > > > | 1 - change include order (if possible) > > might work. Where is this ctype included from? Our code or library > code?
./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. > > | 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. Is there a canonical place for LyX where we could put this? So I can test if it breaks anything else? /Andreas