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

Unified Diff: gpu/khronos_glcts_support/khronos_glcts_gtf.gyp

Issue 615063004: gpu/khronos_glcts_support: WA suppress compile-time warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « gpu/khronos_glcts_support/khronos_glcts_framework.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/khronos_glcts_support/khronos_glcts_gtf.gyp
diff --git a/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp b/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp
index 16e6694e820be3325697b257f5f6ab8463e2cde4..246ab073042d21e48e087c6d2a5f590cdd599a86 100644
--- a/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp
+++ b/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp
@@ -10,6 +10,38 @@
{
'target_name': 'gtf_es',
'type': 'static_library',
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags': [
+ # WA: Suppress "control reaches end of non-void function" compile
+ # warning from GTFTestDriver.c.
+ # TODO(uartie) fix.
+ '-Wno-return-type',
+
+ # WA: Suppress "incompatible pointer types passing to parameter"
+ # compile warning from GTFTestExtension.c.
+ # TODO(uartie) fix.
+ '-Wno-incompatible-pointer-types',
+
+ # WA: Suppress "passing 'GLint [15]' to parameter of type
+ # 'GLuint *' (aka 'unsigned int') converts between pointers to
+ # integer types with different sign" compile warning from
+ # GTFGL2TestGetAttachedObjects.c
+ # TODO(uartie) fix.
+ '-Wno-pointer-sign',
+
+ # WA: Suppress "comparison of unsigned expression >= 0 is always
+ # true" compile warning from GTFgl.c
+ # TODO(uartie) fix.
+ '-Wno-tautological-compare',
+
+ # WA: Suppress "equality comparison with extraneous parentheses"
+ # compile warning from GTFgl.c
+ # TODO(uartie) fix.
+ '-Wno-parentheses-equality',
+ ],
+ }],
+ ],
'dependencies': [
'<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase',
'<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrapper',
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_framework.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698