Fix Clang 8 and GCC 9 warnings
authorMika Väinölä <mika.vainola@siru.fi>
Tue, 9 Apr 2019 13:28:45 +0000 (16:28 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 2 Jul 2019 13:33:33 +0000 (09:33 -0400)
commit7a7e258b07d4ae9e5b19ae2460b4701879155841
tree82e3d81f8b0b6d55aa0ab22d6046795f88098a6d
parent9f2a65eda2ee4d76436d572730b06547892038a4
Fix Clang 8 and GCC 9 warnings

Rename some TYPE_LAST and STATE_LAST enums that produce variable
shadowing warnings with Clang 8. Reimplement tcu::Format::Hex methods
using stringstream and IO manipulators instead of format strings
and add a cast to deUint32 to fix warnings on GCC 9.

Component: Framework

VK-GL-CTS issue: 1631

Change-Id: Ide4b25c106810b725c5ed7caaaf676f02e81b368
(cherry picked from commit 31dd7a0b3c38181ebdaf10bdc95f8c591734c342)
13 files changed:
executor/tools/xeExtractValues.cpp
executor/xeTestCaseResult.cpp
executor/xeTestCaseResult.hpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmImageSamplerTests.cpp
framework/common/tcuFormatUtil.hpp
framework/common/tcuTestHierarchyIterator.cpp
framework/common/tcuTestHierarchyIterator.hpp
framework/opengl/gluDrawUtil.cpp
framework/opengl/gluDrawUtil.hpp
framework/opengl/gluVarType.cpp
framework/opengl/gluVarType.hpp
framework/opengl/gluVarTypeUtil.hpp
modules/glshared/glsFragOpInteractionCase.cpp