Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1610)

Unified Diff: third_party/libexif/libexif.gyp

Issue 274533004: clang: Turn on -Wabsolute-value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ash3 Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/audio_sender/audio_encoder_unittest.cc ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libexif/libexif.gyp
diff --git a/third_party/libexif/libexif.gyp b/third_party/libexif/libexif.gyp
index eebb8753a9d3cbecfca5da5bd381d5c103d4b87f..a2007458175a9017051f62b4dbf19cfe91c132a8 100644
--- a/third_party/libexif/libexif.gyp
+++ b/third_party/libexif/libexif.gyp
@@ -56,13 +56,17 @@
['clang==1', {
'cflags': [
'-Wno-enum-conversion',
- '-Wno-switch'
+ '-Wno-switch',
+ # libexif uses fabs(int) to cast to float.
+ '-Wno-absolute-value',
],
'xcode_settings': {
'WARNING_CFLAGS': [
'-Wno-enum-conversion',
'-Wno-switch',
'-Wno-format',
+ # libexif uses fabs(int) to cast to float.
+ '-Wno-absolute-value',
],
},
}],
« no previous file with comments | « media/cast/audio_sender/audio_encoder_unittest.cc ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698