This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

followup to previous email


Hi,

Before I forgot to include the compiler flags, etc. for the problem where 
gcc 3.0 broke code that compiled cleanly in 2.96.

compiler flags, etc:

g++ -I. -I../include -DUSE_INLINE -DUSE_DEBUG -D_REENTRANT -DSERVER -DDEBUG 
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PER_PROCESS_TIMER_SOURCE 
-I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include/mysql 
-W -g2 -c LmPlayerDB.cpp

OS:

uname -a
Linux <hostname> 2.2.18 #2 Fri Mar 23 12:52:14 PST 2001 i686 unknown

Error:

In file included from /usr/include/g++-v3/bits/stl_algobase.h:44,
from /usr/include/g++-v3/bits/std_memory.h:20,
from /usr/include/g++-v3/bits/std_string.h:43,
from /usr/include/g++-v3/bits/localefwd.h:42,
from /usr/include/g++-v3/bits/std_ios.h:43,
from /usr/include/g++-v3/bits/std_ostream.h:39,
from /usr/include/g++-v3/bits/std_iostream.h:40,
from /usr/include/g++-v3/backward/iostream.h:32,
from /usr/include/g++-v3/backward/iterator.h:33,
from /usr/include/g++-v3/backward/algobase.h:31,
from /usr/include/g++-v3/backward/vector.h:31,
from ../include/LmIdSet.h:15,
from ../include/LmPlayerDB.h:21,
from LmPlayerDBF.cpp:15:
/usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
/usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declaredmake: *** 
[LmPlayerDBF.o] Error 1

Thanks so much for any help...

Brent


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