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

Unified Diff: hunspell.gyp

Issue 9568018: clang: Add -Wno-empty-body to hunspell.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/hunspell/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hunspell.gyp
===================================================================
--- hunspell.gyp (revision 123842)
+++ hunspell.gyp (working copy)
@@ -71,6 +71,17 @@
'-Wno-write-strings',
],
}],
+ ['clang == 1', {
+ 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
+ '-Wno-empty-body',
+ ],
+ },
+ 'cflags': [
+ '-Wno-empty-body',
+ ],
+ }],
],
},
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698