This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
duplicate definition of perror()
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 21 Apr 2004 13:05:23 +0200
- Subject: [ECOS] duplicate definition of perror()
- Organization: Zylin AS
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