Bug 93069: clean up compiler warnings from gcc 5.2 - Ralf Habacker <ralf.habacker@freenet.de> - 11/22/2015 Back to Bug | Your Reviews | Help
Attachment 121660: Refactored cmake part dealing with compiler warnings to use warnings identifier (update 2) - Ralf Habacker <ralf.habacker@freenet.de> - 2/11/2016 (View )

Show Quick Help

From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Thu, 26 Nov 2015 15:00:59 +0100
Subject: [PATCH 1/3] Refactored cmake part dealing with compiler warnings to
use warnings identifier.
It is now possible to use msvc warnings identifiers
(e.g. '4114') or gcc warnings keys (e.g. 'pointer-sign').
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93069
<Overall Comment>
Previous Reviews
Simon McVittie <smcv@collabora.com>
2/11/2016
-----------------------------------------------------------------
Looks good, thanks.
cmake/CMakeLists.txt
193 set(WARNINGS "4018")
194 # 4090 'operation' : different 'modifier' qualifiers
195 # 4101 'identifier' : unreferenced local variable
196 # 4127 conditional expression is constant
197 # 4244 'argument' : conversion from 'type1' to 'type2', possible loss of data
Apply this without changes first, but it would be interesting to see what warnings you get if you move these to be non-fatal warnings, particularly 4090 and 4244.
Powered by Splinter

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.