| 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-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
| Date: | Fri, 17 Dec 1999 10:50:00 -0600 (CST) |
| From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
| To: | Joost Kraaijeveld <JKraaijeveld AT Askesis DOT nl> |
| cc: | "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | RE: Internal compiler error in `rest_of_compilation', at toplev.c :441 5 |
| In-Reply-To: | <1F8B49DD9100D31195FC00A0C94989FE0D71@obelix> |
| Message-ID: | <Pine.HPP.3.96.991217104603.23928O-100000@hp2.xraylith.wisc.edu> |
| MIME-Version: | 1.0 |
On Fri, 17 Dec 1999, Joost Kraaijeveld wrote: > I narrowed it down a bit. It seems that compiling an executable with > __declspec (dllimport) defines for a class is not allowed. See the Bug > and NoBug version that are attached > Out-of-line definitions for an imported class is not allowed because it makes no sense. However, it's a bug in gcc since it should issue an error instead of crashing! I'm working on that. MSVC will issue a warning and turn the linkage into "dllexport" when it sees the definition, which is bogus. It's an error, and ignoring that can cause hard-to-track-down errors in your code. Regards, Mumit -- 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 |