Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | 1/ in LString.h, there is a small hack (from June 2000, and probably | the consequence of too much beer for too few people in a same room) | that says basically in the INCLUDED_STRING case > | #ifdef __STRING__ | #error The <string> header has been included before LString.h | #else | #define __STRING__ | #endif > | The idea is to define __STRING__ so that the <string> header will not | get included.
I thought that I disbled this check? No.. I only did the top one... we had two checks for this? (and that was for config.h ...) There might be another problem as well: systems having the stdlib in std:: and those that have it in ::. | 1/ the LString.h hack is bad, I have to see if I can get rid of it (is | it an optimization or something really needed). There will be a cost | for removing it, though. > | 2/ Having boost include <string> _always_ just to read a small define | is very tasteless, and probably costs a lot in compile time. perhaps... | 3/ trying to guess compiler settings without using autoconf is a very | fragile task. agree. -- Lgb