exceptions and kdev

W. Tasin tasin at fhm.edu
Mon Nov 19 11:15:55 GMT 2001


Israel Fernandez Cabrera wrote:

  >Hi
  >how can I turn enable exception handling in kdevelop??
  >reg at rds
  >Israel
  >
Hi,

#if there is an admin directory in the project directory
add the following line to configure.in.in:
#else
add the following line to configure.in:
#endif

-------
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
-------

If you found a AC_CHECK_COMPILERS call inside this file then place this
line after it.
If you didn't (in case of #MIN_CONFIG usage) then add the line at the 
end of the file.


Then invoke "Build --> Automake/Autoconf" and "Build --> Configure" and
"Build --> Rebuild all".

Ciao

Walter

PS: For setting the -fexceptions only for a certain part of your project
(i.e. shared or static lib) patch the respective Makefile.am:
-----------
.....
.....
####### kdevelop will overwrite this part!!! (end)############

KDE_CXXFLAGS = $(USE_EXCEPTIONS)

......
-----------

-- 
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>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=index&search=0x7961A645&fingerprint=on>


-
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