public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9313: [Mingw] Internal compiler error in rest_of_compilation, at toplev.c:3491 (fwd)
@ 2003-01-15 14:46 Wolfgang Bangerth
  0 siblings, 0 replies; only message in thread
From: Wolfgang Bangerth @ 2003-01-15 14:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9313; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/9313: [Mingw] Internal compiler error in rest_of_compilation,
 at toplev.c:3491 (fwd)
Date: Wed, 15 Jan 2003 08:39:59 -0600 (CST)

 ---------- Forwarded message ----------
 Date: Wed, 15 Jan 2003 02:00:24 +0100
 From: Bernd Becker <munin@munin.inka.de>
 To: bangerth@dealii.org
 Subject: Re[2]: c++/9313: [Mingw] Internal compiler error in
     rest_of_compilation, at toplev.c:3491
 
 Hi,
 
 << Not reproducible on Linux (no surprise). >>
 Indeed. With djgpp under M$DOS the code compiles fine as well (GCC3.2.1)
 
 << Can you say which version of gcc you used... >>
 D'oh !! I knew I forgot something :-P
 GCC 3.2 mingw-special 20020817-1
 
 << ...with which flags you compiled the file? >>
 INCDIR=./inc
 -gstabs -Wall -DDEBUG=1 -I$(INCDIR) -DPSGUIDLL_BUILD=1
 
 DEBUG is defined so logging is compiled in (#ifdef DEBUG...)
 PSGUIDLL_BUILD is defined so the functions are defined appropriately in the
 header with __declspec(dllexport) when building the DLL and
 __declspec(dllimport) when a program includes the header.
 And that was the 'bug'. I had changed that name in the header file to
 DLL_BUILD but forgot to change it in the makefile.
 *aaaarrrrrrggggghhhhhh!!!!*
 After changing the name of the variable to DLL_BUILD the code compiled
 again.
 I'm terribly sorry to have bothered you, I had completely forgotten that I
 hadn't tried to build the lib after the name change under Windows. Which is
 why it worked fine before but didn't now. And, of course it would compile
 under M$DOS and Linux - you don't need shit like that under those OSs, and
 therefore the variable is simply ignored.
 
 I'm getting too old for this, sorry again !!
 
 
 cu,
 -- 
 Bernd
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-15 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 14:46 c++/9313: [Mingw] Internal compiler error in rest_of_compilation, at toplev.c:3491 (fwd) Wolfgang Bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).