Fix NULL/False to std::string conversion errors
authorMika Väinölä <mika.vainola@siru.fi>
Fri, 17 Dec 2021 07:10:19 +0000 (09:10 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 20 Jan 2022 17:01:20 +0000 (17:01 +0000)
commit3e01fb198da1dc11890d647213c62f22e06fb106
treeff5f6adde27652a3a50032f98d6f1f14e69af788
parent0092aa7197a13c3ac8670eae68b666503a278a6d
Fix NULL/False to std::string conversion errors

Newer versions of GCC reject std::string(DE_NULL). Previously this
didn't cause any errors or warnings when compiling, but should produce
an error at runtime. This change replaces invalid values with empty
string literals and adds deFatalStr for cases that potentially
relied on the string constructor throwing an exception.

Components: Framework, OpenGL, Vulkan
VK-GL-CTS issue: 3419

Change-Id: I68ec7d1447d1e96f5d7841e0684687cdd294fe39
12 files changed:
external/vulkancts/modules/vulkan/image/vktImageAtomicOperationTests.cpp
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperation.cpp
external/vulkancts/modules/vulkan/tessellation/vktTessellationUserDefinedIO.cpp
framework/delibs/debase/deDefs.h
framework/opengl/gluShaderLibrary.cpp
modules/gles2/performance/es2pShaderOptimizationTests.cpp
modules/gles3/performance/es3pShaderOptimizationTests.cpp
modules/gles31/functional/es31fGeometryShaderTests.cpp
modules/gles31/functional/es31fNegativeAdvancedBlendEquationTests.cpp
modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp
modules/gles31/functional/es31fShaderImageLoadStoreTests.cpp
modules/gles31/functional/es31fTessellationTests.cpp