Gerrit Voss wrote: > Hi, > > On Wed, 2007-07-25 at 14:31 -0500, Patrick Hartling wrote: >> Allen Bierbaum wrote: >>> Patrick Hartling wrote: >>> >>> Is there something similar for gcc? >> In general, I don't think you'll find other debug runtime implementations >> similar to what Visual C++ includes. At least I haven't seen it with other >> compilers. You could compile GLIBC (or other libc implementation) with debug >> symbols, but the run-time checks that the Visual C++ debug runtime does are >> not necessarily going to be there. The salient point here is that there is a >> difference between building object files with debug symbols and using the >> Visual C++ debug runtime. > > for gcc (unix systems) not to the extend described but IIRC gcc > libs/includes react to NDEBUG. > >>> As it stands right now, OpenSG 2.0 is setup like this: >>> >>> (see OSGConfig.h) >>> >>> #ifdef _DEBUG >>> #define OSG_DEBUG >>> #endif >>> >>> >>> Anyone have ideas for a good fix? >> Debug OSG_DEBUG explicitly in the build when debugging features are desired. >> > > I'm fine with this one.
I just committed a change that adds this in revision 848. We still need to fix up osg-config to do the same when asking for flags to use with applications. -Allen > > kind regards, > gerrit > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
