[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: How do I use -fexceptions?
From:       Ainsley Pereira <kdevgeneral () pebble ! org ! uk>
Date:       2004-05-21 6:42:07
Message-ID: 20040521064207.GB3993 () snowplains ! org
[Download RAW message or body]

On Fri, May 21, 2004 at 01:21:21AM -0400, Steven T. Hatton wrote:
> I'm trying to figure out how to get a project that uses exceptions to build. 
> I'm using GCC 3.3.2. The error I get is at the end of this output from the 
> build process:
> 
> make[2]: Entering directory `/home/hattons/code/c++/gs/gsgrapher/src'
> if g++ -DHAVE_CONFIG_H -I. -I/home/hattons/code/c++/gs/gsgrapher/src -I.. 
> - -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   
> - -DQT_THREAD_SUPPORT -fexceptions -D_REENTRANT  -Wnon-virtual-dtor 
> - -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
> - -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
> - -O2 -fexceptions -Wformat-security -Wmissing-format-attribute -fno-exceptions 
> - -fno-check-new -fno-common  -MT rectangle.o -MD -MP -MF ".deps/rectangle.Tpo" 

You have both -fexceptions and -fno-exceptions in there. I think you
just need to take -fno-exceptions out. (In fact, I think you could
probably take both out, exceptions should be on by default.)

Hope that helps,
Ainsley

[Attachment #3 (application/pgp-signature)]
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe ;your-email-address+

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic