|
From: Julian S. <ju...@op...> - 2023-07-18 12:11:27
|
On Tue, 18 Jul 2023 13:53:29 +0200 TheFGFSEagle <the...@gm...> wrote: > Nope, I have CMAKE_BUILD_TYPE=RelWithDebInfo. ? In flightgear's CMakeLists.txt, RelWithDebInfo defines NDEBUG, which will disable asserts. - Jules > > Am Di., 18. Juli 2023 um 12:51 Uhr schrieb Julian Smith <ju...@op...>: > > > On Tue, 18 Jul 2023 12:29:31 +0200 > > TheFGFSEagle <the...@gm...> wrote: > > > > > Ah, so is there a switch to enable them ? > > > > Not sure. We'd need a way to tell cmake not to define NDEBUG. > > > > [I use my own build system for Flightgear, so can control things like > > this more easily.] > > > > - Jules > > > > > > > > > > Am Di., 18. Juli 2023 um 12:16 Uhr schrieb Julian Smith <ju...@op... > > >: > > > > > > > On Tue, 18 Jul 2023 11:37:12 +0200 > > > > Florent Rougon <f.r...@fr...> wrote: > > > > > > > > > Florent Rougon <f.r...@fr...> wrote: > > > > > > > > > > > the subject matter — and nothing about the freeze process per se. > > Your > > > > > > analysis looks good to me and your patch fixes the crash I reported > > > > > > yesterday. > > > > > > > > > > Seems to be the same crash that Frédéric reported at the beginning of > > > > > this thread, however it appears he built SimGear without the > > assert()s, > > > > > which doesn't help with debugging! ;) > > > > > > > > FWIW i'd prefer to have asserts, or something equivalent to asserts, > > > > active in all builds. As long as we are careful not to assert complex > > > > expressions, the runtime overhead would be negligible, and we'd get to > > > > hear about (and fix) bugs much sooner. > > > > > > > > [Certainly all my builds have asserts enabled.] > > > > > > > > - Jules > > > > > > > > -- > > > > http://op59.net > > > > > > > > > > > > _______________________________________________ > > > > Flightgear-devel mailing list > > > > Fli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > > > > > > > > > > > -- > > http://op59.net > > > > > > _______________________________________________ > > Flightgear-devel mailing list > > Fli...@li... > > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > -- http://op59.net |