[cairo-bugs] [Bug 51633] Fix on 1.12 for unsupported -Wno option detection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 11 13:29:45 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51633

--- Comment #2 from Gilles Espinasse <g.esp at free.fr> 2012-07-11 20:29:45 UTC ---
I agree that build don't break for this reason.

The issue is just a supplemental 'unrecognized command line option' warning for
each other warning emitted by gcc during make stage. The patch avoid this
supplemental warning by properly testing if gcc really support the option.
So with gcc-4.4, the patch divide by 2 the number of warning emitted during the
build.

That would be more clear with the diff of build log warnings but I can't do
that today.
With gcc-4.4, configure && make 2>log1
Then make clean, use the patch, autoreconf && ./configure && make 2>log2
Then diff -u log1 log2

If you have gcc-4.5 or gcc-4.6, you should have the same effect testing
-Wno-unused-local-typedefs option (added in gcc-4.7) to configure.ac.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list