On Wednesday 24 July 2002 11:14, Lars Gullik Bjønnes wrote: > José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: > | The problem comes when I try to compile the 1.1 series, I have problems > | with 1.1.2, 1.1.4, 1.1.5* > | > | I attach the log that I get with errors. Since this happens in > | DebugStream do you have any clue Lars? > | > | Should I upgrade my compiler? I'm not joking here. :-) Since 3.0.4 > | appears not to fulfill the modern stl stream condition that you imposed. > > Actually I think 3.0.4 fulfills the modern condition, it is more > likely the _test_ for the condition that is wrong. > What happens if you just set the "MODERN_STL_STREAM" manually in > config.h? (or as a define in DebugStream.h for that matter)
The test that is done to determine it is: #line 2304 "configure" #include "confdefs.h" #include <fstream> int main() { std::streambuf * test = std::cerr.rdbuf(); test->pubsync(); ; return 0; } To be able to compile it need an #include<iostream> or else gcc complains that cerr is not defined. So if define MODERN_STL_STREAM and include iostream that file compiles cleanly. It remains the problem in vspace... -- José Abílio