This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems whith make-check on gcc-2.95.2


Hi !

Im also fall into the Problems whith :
/home/russell/local/include/g++-v3/bits/ios_base.h:144: parse error before
`{'
/home/russell/local/include/g++-v3/bits/ios_base.h:152: destructor
`failure' must match clas
s name `ios_base'
/home/russell/local/include/g++-v3/bits/ios_base.h:226: parse error before
`protected'
/home/russell/local/include/g++-v3/bits/ios_base.h:239: syntax error before
`;'
/home/russell/local/include/g++-v3/bits/ios_base.h:243: parse error before
`,'
/home/russell/local/include/g++-v3/bits/ios_base.h:245: missing ';' before
right brace
/home/russell/local/include/g++-v3/bits/ios_base.h:248: ANSI C++ forbids
declaration `_Callb
(snipped from other Mail on list)

The reason is too simple:
If you already have an cersion of libstdc++ installed, g++ will use this
includes too, with all sorts of trouble. the fix is really simple, change
CXX_FLAG="-fhonor-std -g -O2 -DDEBUG_ASSERT -v"
to
CXX_FLAG="-fhonor-std -g -O2 -DDEBUG_ASSERT -v -nostdinc++"
                                               ^^^^^^^^^^^
                                              thats the key
ru Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]