[ECOS] duplicate definition of perror()

Øyvind Harboe oyvind.harboe@zylin.com
Wed Apr 21 13:51:00 GMT 2004


Are both these files supposed to define perror()?

Things seem to compile fine when I remove the definition in network.h.


In file included from commands/PPP.cc:2:
../romapp/install/include/network.h:72: declaration of `void
perror(const 
   char*)' throws different exceptions
../romapp/install/include/cyg/libc/stdio/stdio.inl:138: than previous 
   declaration `void perror(const char*) throw ()'
make: *** [output/./commands/PPP.o] Error 1

-- 

Øyvind Harboe
http://www.zylin.com




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list