glslang-zig/glslang/MachineIndependent/preprocessor
Daniel Koch 197082ca34 Fix build warnings on some platforms
Use an explicit cast from size_t to int to avoid errors like the following:
glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : error C2220: warning treated as error - no 'object' file generated
glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data

affects Pp.cpp, hlslParseHelper.cpp.

Initialize local variable to get rid of warningsa about potentially
uninitialized variables:
glslang\hlsl\hlslparsehelper.cpp(3667) : error C2220: warning treated as error - no 'object' file generated
glslang\hlsl\hlslparsehelper.cpp(3667) : warning C4701: potentially uninitialized local variable 'builtIn' used

affects hlslParseHelper.cpp
2017-03-01 09:50:42 -05:00
..
Pp.cpp Fix build warnings on some platforms 2017-03-01 09:50:42 -05:00
PpAtom.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PpContext.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PpContext.h PP: Fix issue #738: don't assert on characters within a string. 2017-02-28 19:39:51 -07:00
PpMemory.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PpScanner.cpp PP: Address #737: accept 'h'/'H' floating-point suffix more broadly. 2017-02-28 12:58:11 -07:00
PpSymbols.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PpTokens.cpp PP: Fix issue #738: don't assert on characters within a string. 2017-02-28 19:39:51 -07:00
PpTokens.h PP: Address #737: accept 'h'/'H' floating-point suffix more broadly. 2017-02-28 12:58:11 -07:00