Commit 84c9cf00 by Greg Hartman

Suppress unused parameter warnings

Change-Id: Ibb3fc68726fbea174ce1c499bcca2a9b6cfbfd5d Reviewed-on: https://swiftshader-review.googlesource.com/3149Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarGreg Hartman <ghartman@google.com>
parent 6802fc96
...@@ -73,7 +73,7 @@ LOCAL_SRC_FILES += \ ...@@ -73,7 +73,7 @@ LOCAL_SRC_FILES += \
OpenGL/common/Object.cpp \ OpenGL/common/Object.cpp \
OpenGL/common/MatrixStack.cpp \ OpenGL/common/MatrixStack.cpp \
LOCAL_CFLAGS += -DLOG_TAG=\"swiftshader\" LOCAL_CFLAGS += -DLOG_TAG=\"swiftshader\" -Wno-unused-parameter
LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
LOCAL_CFLAGS += -std=c++11 LOCAL_CFLAGS += -std=c++11
......
...@@ -396,7 +396,7 @@ LOCAL_SRC_FILES += \ ...@@ -396,7 +396,7 @@ LOCAL_SRC_FILES += \
lib/VMCore/Verifier.cpp \ lib/VMCore/Verifier.cpp \
LOCAL_CFLAGS += -DLOG_TAG=\"libLLVM_swiftshader\" LOCAL_CFLAGS += -DLOG_TAG=\"libLLVM_swiftshader\" -Wno-unused-parameter
LOCAL_CFLAGS += -fomit-frame-pointer -Os -ffunction-sections -fdata-sections LOCAL_CFLAGS += -fomit-frame-pointer -Os -ffunction-sections -fdata-sections
LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
LOCAL_CFLAGS += -std=c++11 LOCAL_CFLAGS += -std=c++11
......
...@@ -41,7 +41,7 @@ LOCAL_SRC_FILES += \ ...@@ -41,7 +41,7 @@ LOCAL_SRC_FILES += \
util.cpp \ util.cpp \
ValidateLimitations.cpp \ ValidateLimitations.cpp \
LOCAL_CFLAGS += -DLOG_TAG=\"swiftshader_compiler\" LOCAL_CFLAGS += -DLOG_TAG=\"swiftshader_compiler\" -Wno-unused-parameter
# Android's make system also uses NDEBUG, so we need to set/unset it forcefully # Android's make system also uses NDEBUG, so we need to set/unset it forcefully
# Uncomment for ON: # Uncomment for ON:
......
...@@ -10,7 +10,8 @@ COMMON_CFLAGS := \ ...@@ -10,7 +10,8 @@ COMMON_CFLAGS := \
-DEGLAPI= \ -DEGLAPI= \
-DGL_API= \ -DGL_API= \
-DGL_APICALL= \ -DGL_APICALL= \
-DGL_GLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES \
-Wno-unused-parameter
COMMON_SRC_FILES := \ COMMON_SRC_FILES := \
......
...@@ -9,7 +9,8 @@ COMMON_CFLAGS := \ ...@@ -9,7 +9,8 @@ COMMON_CFLAGS := \
-std=c++11 \ -std=c++11 \
-DGL_API= \ -DGL_API= \
-DGL_APICALL= \ -DGL_APICALL= \
-DGL_GLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES \
-Wno-unused-parameter
COMMON_SRC_FILES := \ COMMON_SRC_FILES := \
Buffer.cpp \ Buffer.cpp \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment