< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] "opt" builds


Hi,

  We have been running resiprocate built in the opt mode
and have run into crashes caused by some assertions. I
was expecting that assertions will be turned off in
non-debug modes. The makefile has explicitly commented
out the NDEBUG flag in the opt mode :

Makefile.osarch:
        ifeq ($(VOCAL_COMPILE_TYPE),opt)
        CXXFLAGS += $(OPTFLAGS) #-DNDEBUG
        CFLAGS += $(OPTFLAGS) #-DNDEBUG
        Endif


I was wondering if I could enable these back for the opt
mode. Should I use other modes to compile resiprocate so
it can be used in 'releases'?

Thanks,
Sunitha.