This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
build failure -> declaration of strsignal?
- To: "gnuh8" <gnuh8 at pcserv dot demon dot co dot uk>, "gcc" <gcc at gcc dot gnu dot org>
- Subject: build failure -> declaration of strsignal?
- From: Ralf Gütlein <ralf dot guetlein at aranea dot de>
- Date: Wed, 16 Aug 2000 10:05:29 +0200
- Reply-To: Ralf Gütlein <ralf dot guetlein at biotest-mt dot de>
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
---------------------------