This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: CC bug report - following your instructions
- To: David Greaves <David dot Greaves at cl dot cam dot ac dot uk>
- Subject: Re: CC bug report - following your instructions
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Fri, 19 Oct 2001 10:07:02 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <E15ucED-0004Dq-00@wisbech.cl.cam.ac.uk>
On Fri, Oct 19, 2001 at 05:10:33PM +0100, David Greaves wrote:
>
> gcc -c -O2 -g -I/homes/djg/d300/cv3/vtoclibs -I/homes/djg/codesign/examples/s
> ystemcrams -I/homes/djg/codesign/examples/systemcarms -I/homes/djg/arm9
> -I/homes/djg/bigwig/systemc/systemc-2.0b2/src simsys-systemc.cpp
> In file included from /homes/djg/d300/cv3/vtoclibs/vtoc_tenos.h:32,
> from simsys-systemc.cpp:15:
> /usr/opt/gcc-lib/i586-pc-linux-gnu/2.95.2/include/varargs.h:111: warning:
> `va_start' redefined
> /usr/opt/gcc-lib/i586-pc-linux-gnu/2.95.2/include/stdarg.h:96: warning: this
> is the location of the previous definition
You cannot use both <stdarg.h> and <varargs.h> in the same translation
unit. In practice this means you cannot use <varargs.h> at all in C++.
> simsys-systemc.cpp: In function `void __static_initialization_and_destruction_0
> (int, int)':
> simsys-systemc.cpp:255: Internal compiler error.
> simsys-systemc.cpp:255: Please submit a full bug report.
Fixed in 2.95.4-to-be.
zw