Re: Show warnings from a C/C++ build

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

 



On Fri, 15 Jul 2016 22:46:23 +0200, Jerry James wrote:
> Attached is a little script I use when doing a mock build with gcc or
> g++, to see what warnings the compiler emitted.  I usually ignore
> -Wunused* warnings, as those aren't usually dangerous, but I pay
> attention to -Wstrict-aliasing, for example.  This is a way for me to
> quickly see if any "dangerous" warnings were emitted,

I find safer to use -Werror for such kinds of warnings.


Jan
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux