exceptions

W. Tasin tasin at fhm.edu
Wed Nov 21 10:29:19 GMT 2001


Hi,

Thorsten Gecks wrote:

>add -fexceptions to the compiler additional options
>(Project->Options->Compiler-Options)
>
this won't work due to order problems.
It would cause a line like:

g++ .... -fexceptions .... -fno-exceptions .....

configure exports some CXXFLAGS and one of these flags is 
-fno-exceptions. These flags will be set after the flags you insert in 
Project->Options->Compiler-Options. So -fno-exceptions is still active.

>
>or search for "exceptions" in <project-dir>/config.cache or in the
>Makefiles or in the configure-skript
>
Even this will work only unless you invoke "make distclean" and "make -f 
Makefile.(cvs|dist).
config.cache is created by configure-script and the configure-script is 
created from the contents of configure.in and aclocal.m4 by invoking 
autoconf.
(BTW: config.cache wouldn't (resp. shouldn't) be added to a tarball you 
are making from your project with "make dist")
(If there is an admin directory) configure.in is created from 
configure.in.in (and maybe some other optional stuff) by invoking "make 
-f Makefile.(cvs|dist)"
aclocal.m4 from acinclude.m4 by "aclocal".
acinclude.m4 is created by concatenating acinclude.m4.in and libtool.m4.in.

So patching config.cache or configure wouldn't really help, because it 
could be modified by starting certain make rules.

>
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