how to turn off -fno-exceptions in kdevelop

W. Tasin Walter.Tasin at t-online.de
Mon Mar 12 08:21:18 GMT 2001


Martin Fahrendorf wrote:

> Am Samstag, 10. März 2001 00:41 schrieben Sie:
> 
>> i opened up the kdevelop project file and edited some source, then when i
>> tried to compile it gives g++ -fno-exceptions.  how do i turn this off?
>> thanks for the help,
>> christopher
> 
> 
> Hi christoper,
> 
> the easyest way is to edit the file aclocal.m4, acinclude.m4.in and rerun 
> automake/autoconf from your KDevelop build menu. somewhere in the *.m4 files 
> you can find the line "KDE_CHECK_COMPILER_FLAG(fno-exceptions...". comment 
> this and the folowing two lines out (dnl in m4) and everything will work 
> correctly.
> 
> Martin

Hi Martin,

and this would be one of the wrongest ways (considering the portability 
to other architectures and newer admin/-frameworks)...

Please consider acinclude.m4.in as read-only.
This is the interface for KDE to implement the building of your binary 
to newer platforms.

If you would distribute your project as a tarball and you have patched 
acinclude.m4.in the user doesn't have the possibility to update the 
framework to a newer one, without doing the needed patches.

One of the targets of this automake/autoconf stuff is to make your 
project compilable on the most distributions w/o changing your sources code.

To support this the KDE guys (especially Stephan Coolow) need a defined 
interface and this is acinclude.m4.in.

That's what the IMPORTANT NOTE inside acinclude.m4.in tries to say:
----------------snip-------------
dnl IMPORTANT NOTE:
dnl Please do not modify this file unless you expect your modifications 
to be
dnl carried into every other module in the repository. If you decide 
that you
dnl really want to modify it, contact coolo at kde.org mentioning that you have
dnl and that the modified file should be committed to every module.
dnl
dnl Single-module modifications are best placed in configure.in for kdelibs
dnl and kdebase or configure.in.in if present.

-----------------snap--------------

Ciao

Walter

-- 
The KDevelop project: tasin at kdevelop.de [www.kdevelop.org]
--
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W. Tasin, FB 
04,FHM-------------------PGP-KeyID:0x7961A645----------:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list