-Wuninitialized vs. docs vs. setjmp/longjmp

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999


> I checked this just recently and -Wall implies -Wunitialized according
> to the latest documentation that I have.

My documentation says

`-W'
     Print extra warning messages for these events:

        * A nonvolatile automatic variable might be changed by a call to
          `longjmp'.  These warnings as well are possible only in
          optimizing compilation.

Even though this is under control of -Wuninitialized, it should (also)
be under control of -W, but currently is not.

Regards,
Martin



More information about the Gcc-bugs mailing list