Re: [xml] -fexceptions



On Thu, Apr 03, 2003 at 01:47:05PM -0500, Stefan Seefeld wrote:
Is there an easy way to enable the -fexceptions flag for gcc when
building libxml?  If not, I think it would be worth adding to the
configure script (e.g. --with-exceptions).  It would be very useful to
be able to throw from SAX callbacks when using libxml from C++.


shouldn't 'configure CC=g++' do the job just fine ?

Sounds reasonable, but I then get:
                                                                                
checking for g++ option to accept ANSI C... no
...
configure: error: Compiler not ANSI compliant

-- 
Graham Bennett



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]