This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with egcs? Not sure.
- To: alex dot buell at tahallah dot demon dot co dot uk
- Subject: Re: Problem with egcs? Not sure.
- From: Philip Blundell <philb at gnu dot org>
- Date: Sun, 13 Sep 1998 22:43:00 +0100
- cc: Linux Egcs <egcs at cygnus dot com>, Linux xwpe <xwpe at cs dot rpi dot edu>
> if (ret == CDO && e_sv_window(xa+n, ya, &num, *df, f) == WPE_CR)
> strcpy(str, (*df)->name[num]); /* <-- ERROR HAPPENS HERE */
>Any ideas? I'm on a i486DX4/100, running Linux 2.1.121, using
>glibc-2.0.94.
It may be a problem with the inline strcpy() implementation in glibc. You
should always give the preprocessed code (gcc -E) rather than the original
source, otherwise we can only guess what your headers are doing. Glibc 2.0.94
is an alpha-test version in any case so it would be a good idea to eliminate
that from the equation.
> I talked to the author, and he tells me that this compiles just fine
> with gcc-2.7.2.3 *and* egcs-1.0.2.
Have you verified that it works with either of these two compilers on your
system?
p.