This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

build failure -> declaration of strsignal?


My attempts to build a cross compiler (host: cygwin, target: h8300,
build: gygwin) stumble over an inconsistency between the declaration
of strsignal in the cygwin headers (latest binaries) and its definition
in gcc/libiberty/strsignal.c (latest snapshot)

in string.h (cygwin):

char    *_EXFUN(strsignal, (int __signo));

in strsignal.c (libiberty):

const char *
strsignal (signo)
  int signo;

The compiler moans about the different return type (const vs. non-const).
What version is the right one?

Regards,
Ralf

           .....
           ô ô )
-----oOOo--(_)---oOOo------

Ralf Guetlein
Biotest Medizintechnik GmbH
Industriestrasse 19
D-63755 Alzenau
Germany
---------------------------
Tel. +49 6023 9487-42
Fax. +49 6023 9487-33
ralf.guetlein@biotest-mt.de
---------------------------



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