This is the mail archive of the gcc-bugs@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]

Re: CC bug report - following your instructions


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


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