• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""GENERATED! DO NOT MANUALLY EDIT THIS FILE.
2
3(1) Edit absl/copts/copts.py.
4(2) Run `python <path_to_absl>/copts/generate_copts.py`.
5"""
6
7ABSL_CLANG_CL_FLAGS = [
8    "/W3",
9    "/DNOMINMAX",
10    "/DWIN32_LEAN_AND_MEAN",
11    "/D_CRT_SECURE_NO_WARNINGS",
12    "/D_SCL_SECURE_NO_WARNINGS",
13    "/D_ENABLE_EXTENDED_ALIGNED_STORAGE",
14]
15
16ABSL_CLANG_CL_TEST_FLAGS = [
17    "/W3",
18    "/DNOMINMAX",
19    "/DWIN32_LEAN_AND_MEAN",
20    "/D_CRT_SECURE_NO_WARNINGS",
21    "/D_SCL_SECURE_NO_WARNINGS",
22    "/D_ENABLE_EXTENDED_ALIGNED_STORAGE",
23    "-Wno-deprecated-declarations",
24    "-Wno-implicit-int-conversion",
25    "-Wno-missing-prototypes",
26    "-Wno-missing-variable-declarations",
27    "-Wno-shadow",
28    "-Wno-shorten-64-to-32",
29    "-Wno-sign-compare",
30    "-Wno-sign-conversion",
31    "-Wno-unreachable-code-loop-increment",
32    "-Wno-unused-function",
33    "-Wno-unused-member-function",
34    "-Wno-unused-parameter",
35    "-Wno-unused-private-field",
36    "-Wno-unused-template",
37    "-Wno-used-but-marked-unused",
38    "-Wno-gnu-zero-variadic-macro-arguments",
39]
40
41ABSL_GCC_FLAGS = [
42    "-Wall",
43    "-Wextra",
44    "-Wcast-qual",
45    "-Wconversion-null",
46    "-Wformat-security",
47    "-Wmissing-declarations",
48    "-Woverlength-strings",
49    "-Wpointer-arith",
50    "-Wundef",
51    "-Wunused-local-typedefs",
52    "-Wunused-result",
53    "-Wvarargs",
54    "-Wvla",
55    "-Wwrite-strings",
56    "-DNOMINMAX",
57]
58
59ABSL_GCC_TEST_FLAGS = [
60    "-Wall",
61    "-Wextra",
62    "-Wcast-qual",
63    "-Wconversion-null",
64    "-Wformat-security",
65    "-Woverlength-strings",
66    "-Wpointer-arith",
67    "-Wundef",
68    "-Wunused-local-typedefs",
69    "-Wunused-result",
70    "-Wvarargs",
71    "-Wvla",
72    "-Wwrite-strings",
73    "-DNOMINMAX",
74    "-Wno-deprecated-declarations",
75    "-Wno-missing-declarations",
76    "-Wno-self-move",
77    "-Wno-sign-compare",
78    "-Wno-unused-function",
79    "-Wno-unused-parameter",
80    "-Wno-unused-private-field",
81]
82
83ABSL_LLVM_FLAGS = [
84    "-Wall",
85    "-Wextra",
86    "-Wcast-qual",
87    "-Wconversion",
88    "-Wfloat-overflow-conversion",
89    "-Wfloat-zero-conversion",
90    "-Wfor-loop-analysis",
91    "-Wformat-security",
92    "-Wgnu-redeclared-enum",
93    "-Winfinite-recursion",
94    "-Winvalid-constexpr",
95    "-Wliteral-conversion",
96    "-Wmissing-declarations",
97    "-Woverlength-strings",
98    "-Wpointer-arith",
99    "-Wself-assign",
100    "-Wshadow-all",
101    "-Wshorten-64-to-32",
102    "-Wsign-conversion",
103    "-Wstring-conversion",
104    "-Wtautological-overlap-compare",
105    "-Wtautological-unsigned-zero-compare",
106    "-Wundef",
107    "-Wuninitialized",
108    "-Wunreachable-code",
109    "-Wunused-comparison",
110    "-Wunused-local-typedefs",
111    "-Wunused-result",
112    "-Wvla",
113    "-Wwrite-strings",
114    "-Wno-float-conversion",
115    "-Wno-implicit-float-conversion",
116    "-Wno-implicit-int-float-conversion",
117    "-Wno-unknown-warning-option",
118    "-DNOMINMAX",
119]
120
121ABSL_LLVM_TEST_FLAGS = [
122    "-Wall",
123    "-Wextra",
124    "-Wcast-qual",
125    "-Wconversion",
126    "-Wfloat-overflow-conversion",
127    "-Wfloat-zero-conversion",
128    "-Wfor-loop-analysis",
129    "-Wformat-security",
130    "-Wgnu-redeclared-enum",
131    "-Winfinite-recursion",
132    "-Winvalid-constexpr",
133    "-Wliteral-conversion",
134    "-Wmissing-declarations",
135    "-Woverlength-strings",
136    "-Wpointer-arith",
137    "-Wself-assign",
138    "-Wshadow-all",
139    "-Wstring-conversion",
140    "-Wtautological-overlap-compare",
141    "-Wtautological-unsigned-zero-compare",
142    "-Wundef",
143    "-Wuninitialized",
144    "-Wunreachable-code",
145    "-Wunused-comparison",
146    "-Wunused-local-typedefs",
147    "-Wunused-result",
148    "-Wvla",
149    "-Wwrite-strings",
150    "-Wno-float-conversion",
151    "-Wno-implicit-float-conversion",
152    "-Wno-implicit-int-float-conversion",
153    "-Wno-unknown-warning-option",
154    "-DNOMINMAX",
155    "-Wno-deprecated-declarations",
156    "-Wno-implicit-int-conversion",
157    "-Wno-missing-prototypes",
158    "-Wno-missing-variable-declarations",
159    "-Wno-shadow",
160    "-Wno-shorten-64-to-32",
161    "-Wno-sign-compare",
162    "-Wno-sign-conversion",
163    "-Wno-unreachable-code-loop-increment",
164    "-Wno-unused-function",
165    "-Wno-unused-member-function",
166    "-Wno-unused-parameter",
167    "-Wno-unused-private-field",
168    "-Wno-unused-template",
169    "-Wno-used-but-marked-unused",
170    "-Wno-gnu-zero-variadic-macro-arguments",
171]
172
173ABSL_MSVC_FLAGS = [
174    "/W3",
175    "/bigobj",
176    "/wd4005",
177    "/wd4068",
178    "/wd4180",
179    "/wd4244",
180    "/wd4267",
181    "/wd4503",
182    "/wd4800",
183    "/DNOMINMAX",
184    "/DWIN32_LEAN_AND_MEAN",
185    "/D_CRT_SECURE_NO_WARNINGS",
186    "/D_SCL_SECURE_NO_WARNINGS",
187    "/D_ENABLE_EXTENDED_ALIGNED_STORAGE",
188]
189
190ABSL_MSVC_LINKOPTS = [
191    "-ignore:4221",
192]
193
194ABSL_MSVC_TEST_FLAGS = [
195    "/W3",
196    "/bigobj",
197    "/wd4005",
198    "/wd4068",
199    "/wd4180",
200    "/wd4244",
201    "/wd4267",
202    "/wd4503",
203    "/wd4800",
204    "/DNOMINMAX",
205    "/DWIN32_LEAN_AND_MEAN",
206    "/D_CRT_SECURE_NO_WARNINGS",
207    "/D_SCL_SECURE_NO_WARNINGS",
208    "/D_ENABLE_EXTENDED_ALIGNED_STORAGE",
209    "/wd4018",
210    "/wd4101",
211    "/wd4503",
212    "/wd4996",
213    "/DNOMINMAX",
214]
215
216ABSL_RANDOM_HWAES_ARM32_FLAGS = [
217    "-mfpu=neon",
218]
219
220ABSL_RANDOM_HWAES_ARM64_FLAGS = [
221    "-march=armv8-a+crypto",
222]
223
224ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [
225]
226
227ABSL_RANDOM_HWAES_X64_FLAGS = [
228    "-maes",
229    "-msse4.1",
230]
231