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

Unified Diff: hunspell.gyp

Issue 14195026: Ignore conversions to NULL in gcc too. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/hunspell.git@master
Patch Set: Only pass the flag for gcc >= 4.8 Created 7 years, 8 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
diff --git a/hunspell.gyp b/hunspell.gyp
index ddb5aeee61f9321a6f8627430c2cd3883fae4d00..cacaf653fca7617ed6c1a0f968bcf4315077ed74 100644
--- a/hunspell.gyp
+++ b/hunspell.gyp
@@ -73,6 +73,13 @@
'-Wno-write-strings',
],
}],
+ ['gcc_version >= 48', {
+ 'cflags': [
+ # affentry.hxx has NULL as default parameter for a FLAG in two
+ # places.
+ '-Wno-conversion-null',
+ ],
+ }],
['clang == 1', {
'xcode_settings': {
'WARNING_CFLAGS': [
« 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