Lars Gullik Bjønnes wrote:
> | $ g++ -fno-exceptions -g -Ilyx/devel/boost -o trial2 trial2.cpp \
> |   -Llyx/devel/build/boost/libs/signals/src/.libs -lboost_signals
> 
> You seem to have a mixed build. half with stdlib debug half without...
> that won't work.
> 
> Either everything must be built with stdlib debugging turned on or
> everything with it turned off.

Excellent! Thank you, Lars.

That leads to the next obvious question. Ehat do I need to do to turn 
stdlib debugging on. There don't seem to be many clues here:

g++ -DHAVE_CONFIG_H -I. -I../../src -I.   -I../../boost -W -Wall  
-I/usr/X11R6/include  -g -O -fno-exceptions -c -o Bidi.o `test -f 
'../../src/Bidi.C' || echo '../../src/'`../../src/Bidi.C

Is it just a case of adding these to a config file to mirror what it in 
the LyX config.h?

#define _GLIBCPP_CONCEPT_CHECKS 1
/* #undef _GLIBCXX_CONCEPT_CHECKS */
/* #undef _GLIBCXX_DEBUG */
/* #undef _GLIBCXX_DEBUG_PEDANTIC */

-- 
Angus

Reply via email to