On Sat, Apr 2, 2011 at 9:02 AM, Xavier Chantry <firstname.lastname@example.org> wrote:
> That's a funny one, building with optimization levels (with both gcc and
> clang) caused open_mode to always be set to "ab", which worked.
> This was spotted both with clang-analyzer, and by Jakob who reported a
> segfault as he was using an un-optimized build.
> Maybe we should build with -O0 in debug mode.
Bad idea- most errors and warnings in gcc aren't flagged until the
optimizer kicks in and finds them, so this would result in a ton of