[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug? when using g++
From: |
Nigel Stewart & Fiona Smith |
Subject: |
Re: Bug? when using g++ |
Date: |
Thu, 06 Feb 2003 23:51:10 +1100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 |
I'm not sure if it's related, but I encountered a
similar problem with the mingw version of gcc on
cygwin:
The #ifdef __MINGW32__ is my quick-workaround...
I'm happy to provide a more detailed analysis,
if needed.
-------------------------------
address@hidden /m/glt$ gcc -mnocygwin -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
--with-system-zlib --enable-nls --without-included-gettext --enable-interpreter
--disable-sjlj-exceptions --disable-version-specific-runtime-libs
--enable-shared --build=i686-pc-linux --host=i686-pc-cygwin
--target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include
--libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)
----------------------
yyerrlab1:
/* Suppress GCC warning that yyerrlab1 is unused when no action
invokes YYERROR. */
#if !defined(__MINGW32__)
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
__attribute__ ((__unused__))
#endif
#endif
goto yyerrlab2;
Mike> I'm getting goto errors whenever I try to use g++.