Re: how to ignore "X variable may be used uninitialized in this function"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"smallboatca@xxxxxxxxx" <smallboatca@xxxxxxxxx> writes:

> I got this "cond" may be used uninitialized in this function waring in
> compiling my program.
>
> I used -Wuninitialized to ignore this warning, but it does not work.
> Do you know which option (-W????) is for this  "X variable may be used
> uninitialized in this function"? Thanks

In some cases you can find out by using the option
-fdiagnostics-show-option.

Otherwise you are going to have to show us a small test case and the
compilation line.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux