I just did a fresh install of RedHat 8 on a machine and am running into
some problems compiling some basic C++ code.  Stuff that compiled fine
before with RedHat 7.3 and gcc 2.96 now have problems, but they seem to be
related to the system rather than the code.  If anyone has any suggestions
I would appreciate the help.

Craig

$g++ -Iinclude/ thread.cpp
In file included from
/usr/include/c++/3.2/i386-redhat-linux/bits/gthr-default.h:37,
                 from /usr/include/c++/3.2/i386-redhat-linux/bits/gthr.h:98,
                 from /usr/include/c++/3.2/i386-redhat-linux/bits/c++io.h:37,
                 from /usr/include/c++/3.2/bits/fpos.h:44,
                 from /usr/include/c++/3.2/bits/char_traits.h:46,
                 from /usr/include/c++/3.2/string:47,
                 from include/thread.h:4,
                 from thread.cpp:2:
/usr/include/pthread.h:650: type specifier omitted for parameter `clockid_t'
/usr/include/pthread.h:650: parse error before `*' token
In file included from /usr/include/c++/3.2/cwchar:51,
                 from /usr/include/c++/3.2/bits/fpos.h:45,
                 from /usr/include/c++/3.2/bits/char_traits.h:46,
                 from /usr/include/c++/3.2/string:47,
                 from include/thread.h:4,
                 from thread.cpp:2:
/usr/include/c++/3.2/ctime:66: `clock_t' not declared
/usr/include/c++/3.2/ctime:67: `time_t' not declared
/usr/include/c++/3.2/ctime:68: `tm' not declared
/usr/include/c++/3.2/ctime:70: `clock' not declared
/usr/include/c++/3.2/ctime:71: `difftime' not declared
/usr/include/c++/3.2/ctime:72: `mktime' not declared
/usr/include/c++/3.2/ctime:73: `time' not declared
/usr/include/c++/3.2/ctime:74: `asctime' not declared
/usr/include/c++/3.2/ctime:75: `ctime' not declared
/usr/include/c++/3.2/ctime:76: `gmtime' not declared
/usr/include/c++/3.2/ctime:77: `localtime' not declared
/usr/include/c++/3.2/ctime:78: `strftime' not declared





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to