This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

duplicate definition of perror()


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


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