I have this fatal exception when trying to build a package, whereas i
have no problem when compiling it directly. So i guess it is caused by
rpm default compiling flags for C++ (exceptions disabled, apparently)..
How can i change this behavior in specfile ?

make[2]: Entre dans le r�pertoire
`/home/guillaume/RPM/BUILD/avifile-0.51/lib/videocodec'
/bin/sh ../../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I.
-I. -I../../include   -O3 -mpentium -march=pentium -fno-exceptions -pipe
-s -fomit-frame-pointer -fexpensive-optimizations -march=i586
-I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -w  -I../../include
-c VideoEncoder.cpp
In file included from ../../include/videodecoder.h:20,
                 from Unc.h:6,
                 from VideoEncoder.cpp:11:
../../include/image.h: In method `BitmapInfo::BitmapInfo (const 
BITMAPINFOHEADER &)':
../../include/image.h:52: exception handling disabled, use -fexceptions 
to enable
VideoEncoder.cpp: In function `IVideoEncoder *IVideoEncoder::Create 
(int, const BITMAPINFOHEADER &)':
VideoEncoder.cpp:70: `e' undeclared (first use this function)
VideoEncoder.cpp:70: (Each undeclared identifier is reported only once 
for each function it appears in.)
VideoEncoder.cpp:72: Internal error: Erreur de segmentation.

-- 
Guillaume Rousse

Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.

Reply via email to