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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'hunspell', 8 'target_name': 'hunspell',
9 'type': 'static_library', 9 'type': 'static_library',
10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', 10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 # TODO(jschuh): http://crbug.com/167187 size_t -> int 66 # TODO(jschuh): http://crbug.com/167187 size_t -> int
67 'msvs_disabled_warnings': [ 4267 ], 67 'msvs_disabled_warnings': [ 4267 ],
68 'conditions': [ 68 'conditions': [
69 ['os_posix == 1 and OS != "mac"', { 69 ['os_posix == 1 and OS != "mac"', {
70 'cflags': [ 70 'cflags': [
71 '-Wno-unused-value', 71 '-Wno-unused-value',
72 '-Wno-unused-variable', 72 '-Wno-unused-variable',
73 '-Wno-write-strings', 73 '-Wno-write-strings',
74 ], 74 ],
75 }], 75 }],
76 ['gcc_version >= 48', {
77 'cflags': [
78 # affentry.hxx has NULL as default parameter for a FLAG in two
79 # places.
80 '-Wno-conversion-null',
81 ],
82 }],
76 ['clang == 1', { 83 ['clang == 1', {
77 'xcode_settings': { 84 'xcode_settings': {
78 'WARNING_CFLAGS': [ 85 'WARNING_CFLAGS': [
79 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. 86 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
80 '-Wno-empty-body', 87 '-Wno-empty-body',
81 # affentry.hxx has NULL as default parameter for a FLAG in two 88 # affentry.hxx has NULL as default parameter for a FLAG in two
82 # places. 89 # places.
83 '-Wno-null-conversion', 90 '-Wno-null-conversion',
84 ], 91 ],
85 }, 92 },
86 'cflags': [ 93 'cflags': [
87 '-Wno-empty-body', 94 '-Wno-empty-body',
88 '-Wno-null-conversion', 95 '-Wno-null-conversion',
89 ], 96 ],
90 }], 97 }],
91 ], 98 ],
92 }, 99 },
93 ], 100 ],
94 } 101 }
OLDNEW
« 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