[Gambas-devel] makefile !!!

Benoit Minisini gambas at ...1...
Fri Oct 7 13:57:42 CEST 2005


On Friday 07 October 2005 01:52, Daniel wrote:
> what i do to know the flags used by g++ to compile ?
> i think the compiler use -fno-exceptions flag when i compile some c++
> code !!!!
>
> daniel
>
> ps: i can't catch exceptions in the code
>

Can you avoid using exceptions?

If *really* you can't, you have to add that to your Makefile.am file:

gb_<component name>_la_CXXFLAGS = $(AM_CXXFLAGS) -fexceptions

Regards,

-- 
Benoit Minisini





More information about the Devel mailing list