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

List:       kdevelop
Subject:    Re: exceptions and kdev
From:       "W. Tasin" <tasin () fhm ! edu>
Date:       2001-11-19 11:15:55
[Download RAW message or body]

Israel Fernandez Cabrera wrote:

  >Hi
  >how can I turn enable exception handling in kdevelop??
  >reg@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@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