delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Lotus-FromDomain: | DRAGON SYSTEMS USA |
From: | Kenneth_Basye AT Dragonsys DOT com |
To: | cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <852568D4.006C8157.00@notes-mta.dragonsys.com> |
Date: | Wed, 3 May 2000 15:43:35 -0400 |
Subject: | B20 egcs1.1 internal compiler error - minor problem |
Mime-Version: | 1.0 |
The following code causes an internal compiler error: class __attribute__((dllimport)) Problem { public: void f(); }; void Problem::f() {} Of course, this is a pretty silly thing to be doing anyway. Curiously, if f() is defined within the class scope, the error goes away. This came up in porting some VC++ DLL code to Cygwin without paying enough attention to my makefile. Thanks to all the Cygwin folks for a great system! Ken B. Here's the verbose command line; the error is at the end: [~/work/temp]-$ g++ -c -v scorer.cpp Reading specs from d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\ egcs-2.91.57\specs gcc version egcs-2.91.57 19980901 (egcs-1.1 release) d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\cpp.e xe -lang-c++ -v -iprefix d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib/gcc-lib/i586-cyg win32\egcs-2.91.57\ -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINO R__=91 -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__( (__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute_ _((x)) -D__i386__ -D_WIN32 -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attr ibute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__at tribute__((x)) -D__i386 -D__WINNT -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D __EXCEPTIONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di58 6 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ -D__CYGWIN32__ -D__CYG WIN__ scorer.cpp C:\TEMP\cc3i3Jeb.ii GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\.. \..\..\..\include\g++ d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\.. \..\..\..\include d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\.. \..\..\i586-cygwin32\include d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu de End of search list. d:\cygwin\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\cc1pl us.exe C:\TEMP\cc3i3Jeb.ii -quiet -dumpbase scorer.cc -version -o C:\TEMP\cceD7W Kn.s GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release) (i586-cygwin32) compile d by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release). /home/noer/src/b20/comp-tools/devo/gcc/toplev.c:3852: Internal compiler error in function rest_of_compilation -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |