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

Side by Side Diff: hunspell.gyp

Issue 438963006: Update clang warnings after r287092. (Closed) Base URL: http://src.chromium.org/chrome/trunk/deps/third_party/hunspell/
Patch Set: Created 6 years, 4 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 'src/parsers/textparser.cxx', 56 'src/parsers/textparser.cxx',
57 'src/parsers/textparser.hxx', 57 'src/parsers/textparser.hxx',
58 ], 58 ],
59 'direct_dependent_settings': { 59 'direct_dependent_settings': {
60 'defines': [ 60 'defines': [
61 'HUNSPELL_STATIC', 61 'HUNSPELL_STATIC',
62 'HUNSPELL_CHROME_CLIENT', 62 'HUNSPELL_CHROME_CLIENT',
63 'USE_HUNSPELL', 63 'USE_HUNSPELL',
64 ], 64 ],
65 }, 65 },
66 'variables': {
67 'clang_warning_flags': [
68 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
69 '-Wno-empty-body',
70 # affentry.hxx has NULL as default parameter for a FLAG in two
71 # places.
72 '-Wno-null-conversion',
73 ],
74 },
66 # TODO(jschuh): http://crbug.com/167187 size_t -> int 75 # TODO(jschuh): http://crbug.com/167187 size_t -> int
67 'msvs_disabled_warnings': [ 4267 ], 76 'msvs_disabled_warnings': [ 4267 ],
68 'conditions': [ 77 'conditions': [
69 ['os_posix == 1 and OS != "mac"', { 78 ['os_posix == 1 and OS != "mac"', {
70 'cflags': [ 79 'cflags': [
71 '-Wno-unused-value', 80 '-Wno-unused-value',
72 '-Wno-unused-variable', 81 '-Wno-unused-variable',
73 '-Wno-write-strings', 82 '-Wno-write-strings',
74 ], 83 ],
75 }], 84 }],
76 ['gcc_version >= 48', { 85 ['gcc_version >= 48', {
77 'cflags': [ 86 'cflags': [
78 # affentry.hxx has NULL as default parameter for a FLAG in two 87 # affentry.hxx has NULL as default parameter for a FLAG in two
79 # places. 88 # places.
80 '-Wno-conversion-null', 89 '-Wno-conversion-null',
81 ], 90 ],
82 }], 91 }],
83 ['clang == 1', {
84 'xcode_settings': {
85 'WARNING_CFLAGS': [
86 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
87 '-Wno-empty-body',
88 # affentry.hxx has NULL as default parameter for a FLAG in two
89 # places.
90 '-Wno-null-conversion',
91 ],
92 },
93 'cflags': [
94 '-Wno-empty-body',
95 '-Wno-null-conversion',
96 ],
97 }],
98 ], 92 ],
99 }, 93 },
100 ], 94 ],
101 } 95 }
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