>On Saturday 10 March 2001 00:41 you wrote: >> i opened up the kdevelop project file and edited some source, then whe= n i >> tried to compile it gives g++ -fno-exceptions. how do i turn this off= ? >> thanks for the help, >> christopher >> > >Put this into yourproject/yourproject/Makefile.am > >CXXFLAGS=3D-fexceptions > > >--=20 >Marcus Gruendler >eMail: runner@tamalin.de >WWW : http://www.tamalin.de/runner/index.html Hi, please have a look at FAQ file inside kdevelop-1.x sources. If you are creating a project which uses automake/autoconf stuff of the K= DE guys you should follow this: If you want to set this flag only for a subdirectory of your project plea= se insert KDE_CXXFLAGS=3D$(USE_EXCEPTIONS) to the Makefile.am of this project subdirectory. ---- If you want to set this flag for the complete project, so there are two c= ases: 1) for a automake/autoconf "old"-project (means you have NO admin directo= ry which contains the automake stuff): =3D=3D=3D=3D=3D from FAQ file: Q: I=B4m developing an application which needs exception handling. How can I make it? A: Edit the file configure.in in your toplevel source directory. Here, yo= u have to enter after the AC_CHECK_COMPILERS() macro: CXXFLAGS=3D"$CXXFLAGS $USE_EXCEPTIONS" and after that you have to recreate your new "configure" by invoking "make -f Makefile.dist" at the toplevel source directory and then rest= art the configure script (or inside KDevelop by using "Build/Autoconf and Automake" and "Build/= Configure..."). ---- 2) for a automake/autoconf "new"-project (means a project with admin/): Edit your configure.in.in and add CXXFLAGS=3D..... at the end of the file= (please take care that this file ends with a newline) =3D=3D=3D=3D=20 #MIN_CONFIG AM_INIT_AUTOMAKE(kdev2_parser,0.1) CXXFLAGS=3D"$CXXFLAGS $USE_EXCEPTIONS" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D I think this would be the clean method to add the flag. The FAQ-file shows you some examples and tries to explain the stuff a lit= tle bit. Ciao Walter - to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body: unsubscribe »your-email-address«