[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to disable -fno-exceptions in kdevelop



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 03 January 2002 11:48, Hendrik Sattler wrote:

> I'm trying on some C++ here with kdevelop but it always creates
> Makefiles that use -fno-exception as a compiler flag which makes
> the use of throwing an exception impossible.
> Does anybody know how to turn this "feature" (?!?) off?

I had this problem, too. Then I started to read, and I read and read 
and read. And somewhere -- I do not even remember where -- I found 
the following:

In the Makefile.am in the directory where your C++-Code lies, put the 
line:

KDE_CXXFLAGS = $(USE_EXCEPTIONS)

somewhere AFTER the line:

####### kdevelop will overwrite this part!!! (end)############

Regenerate Makefile.in and Makefile and compile. This should allow 
you to use exceptions.

HTH, Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8NJSKzs9ofilcEH8RAicLAJ0evFyt6up+MlE2zp/8KsdUMkOI/ACggfYY
an6WJDRsTZFI46ZE3FwtuSk=
=Dt62
-----END PGP SIGNATURE-----



Reply to: