This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Problems whith make-check on gcc-2.95.2
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Problems whith make-check on gcc-2.95.2
- From: jan at hebler dot de (Jan Hebler)
- Date: 07 Apr 2000 06:13:32 +0200
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