[odb-users] gcc 13.2: vector.ixx: warning: ‘i’ may be used uninitialized

Boris Kolpackov boris at codesynthesis.com
Tue Sep 10 04:26:06 EDT 2024


Siegmund, Harald <Harald.Siegmund at isotravel.com> writes:

> The compiler is quiet now with -O0 but still complains with -O3. This
> is clearly a gcc issue.

Hm, interesting. Maybe it thinks the non-inline call may change the
local variable? Can you change the first line to read:

const bool t (_tracking ());

And see if that helps?



More information about the odb-users mailing list