On Sun, 27 May 2018 17:30:54 +0200
Ichthyostega <prg@xxxxxxxxxxxxxxx> wrote:
just another minor problem I noticed when setting yoshimi as a local dev
to be able to step through with the debugger.
The CMake-Build defines a "BuildForDebug" toggle, but does not actually use the
corresponding flags defined in "BuildOptionsDebug".
And while we at it, I'd also propose to include the flags
"-ffast-math -fno-finite-math-only" in the default for "BuildOptionsDebug".
My resoning is: --fast-math allows to emit code which behaves (for performance
reasons) slightly different with respect to the IEEE floating point standard.
And I think, it would be pointless to build a executable for debugging, which
yields slightly different (in this case totally IEEE compliant) numeric values.
This looks like a insidious pitfall for anyone investigating Yoshimi's
in the debugger.
What's your opinion towards this one?