Show warnings from a C/C++ build

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

 



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, and has led to
several patches being sent to upstream projects.  Sent here in the
hope that it will help other packagers.  Regards,
-- 
Jerry James
http://www.jamezone.org/

Attachment: warnmock
Description: Binary data

--
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