mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
gles: Fix compile warnings. (#1070)
* gles: Fix compile warnings. For 32 and 64-bit Visual Studio and the Android Q NDK. * Fix formatting violations Co-authored-by: spauls <spauls@qti.qualcomm.com>
This commit is contained in:
committed by
GitHub
parent
17a0d09567
commit
6c8045911a
@@ -1,6 +1,5 @@
|
||||
|
||||
set(HARNESS_SOURCES
|
||||
harness/threadTesting.cpp
|
||||
harness/typeWrappers.cpp
|
||||
harness/mt19937.cpp
|
||||
harness/conversions.cpp
|
||||
@@ -23,3 +22,7 @@ set(HARNESS_SOURCES
|
||||
|
||||
add_library(harness STATIC ${HARNESS_SOURCES})
|
||||
|
||||
if(MSVC)
|
||||
# Don't warn about using the portable "strdup" function.
|
||||
target_compile_definitions(harness PRIVATE _CRT_NONSTDC_NO_DEPRECATE)
|
||||
endif()
|
||||
Reference in New Issue
Block a user