egcs 1.1a on DEC alpha OSF/3.2, problem with include files
Alexandre Oliva
oliva@dcc.unicamp.br
Wed Sep 9 23:49:00 GMT 1998
kuball <kuball@zedo.fuedo.de> writes:
> I'm having a problem with the prototypes of the functions strncmp and
> bcopy. The c++ compiler does not see them, the c compiler does.
Run the C/C++ compiler with the -save-temps flag, and look for the
declarations in the .i/.ii file it will produce. You'll probably not
find them in the .ii, only in the .i, but finding out why the C++
preprocessor is eliminating these declarations is up to you. Perhaps
an incorrect/outdated version of string.h in /usr/local/include/g++ ?
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list