Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: cannot convert '<brace-enclosed initializer list>' to 'int' #1056

Closed
OronDF343 opened this issue May 4, 2020 · 0 comments · Fixed by #1057
Closed

Error: cannot convert '<brace-enclosed initializer list>' to 'int' #1056

OronDF343 opened this issue May 4, 2020 · 0 comments · Fixed by #1057
Assignees

Comments

@OronDF343
Copy link

Fails build against glslang master.
See glslang/ResourceLimits.h
Parameter maxDualSourceDrawBuffersEXT is not specified in libshaderc_util/src/resources.cc

More info:
This project no longer compiles in media-autobuild_suite
See relevant issue: m-ab-s/media-autobuild_suite#1630
Relevant log file: make.log

[364/396] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o
FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o 
N:\Dev\ThirdPartySources\media-autobuild_suite\msys64\mingw64\bin\ccache.exe  g++  -DENABLE_HLSL -I../libshaderc_util/include -I../third_party/glslang -I../third_party/glslang/glslang/.. -I../third_party/glslang/SPIRV/.. -I../third_party/glslang/SPIRV/../External -I../third_party/spirv-tools/include -I../third_party/spirv-headers/include -mthreads -mtune=generic -O2 -pipe -Wimplicit-fallthrough -O3 -DNDEBUG   -Wextra-semi -Wall -fvisibility=hidden -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -MF libshaderc_util\CMakeFiles\shaderc_util.dir\src\resources.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o -c ../libshaderc_util/src/resources.cc
../libshaderc_util/src/resources.cc
[ab-suite.make.log](https://github.com/google/shaderc/files/4576069/ab-suite.make.log)
:142:6: error: cannot convert '<brace-enclosed initializer list>' to 'int' in initialization
  142 |     }};
      |      ^
@zoddicus zoddicus self-assigned this May 4, 2020
zoddicus added a commit to zoddicus/shaderc that referenced this issue May 4, 2020
Roll third_party/glslang/ f03cb290a..b5f003d7a (7 commits)

KhronosGroup/glslang@f03cb29...b5f003d

$ git log f03cb290a..b5f003d7a --date=short --no-merges --format='%ad %ae %s'
2020-05-01 cepheus Fix #2191: Error check for indexing reference containing unsize array.
2020-05-01 cepheus GLSL: Separate out swizzle handling (potentially fixing bugs).
2020-04-21 pmistry Add support for es extension GL_EXT_blend_func_extended * Introduces builtin variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT * Introduces builtin constant gl_MaxDualSourceDrawBuffersEXT * enables support for layout qualifier "index" in es profile
2020-04-30 63069047+pmistryNV Add support for extension GL_EXT_shader_integer_mix (#2203)
2020-04-26 pmistry Add support for extension GL_EXT_shader_implicit_conversions Updated extension management in TIntermediate class.
2020-04-30 cepheus Fix #2201: Improve const and copy constructor for TVarLivePair.
2020-04-29 63069047+pmistryNV Add support for extension GL_ARB_vertex_attrib_64bit (#2193)

Roll third_party/googletest/ dcc92d0ab..0eea2e9fc (16 commits)

google/googletest@dcc92d0...0eea2e9

$ git log dcc92d0ab..0eea2e9fc --date=short --no-merges --format='%ad %ae %s'
2020-04-30 absl-team Googletest export
2020-04-28 absl-team Googletest export
2020-04-27 absl-team Googletest export
2020-04-24 absl-team Googletest export
2020-04-23 absl-team Googletest export
2020-04-20 absl-team Googletest export
2020-04-20 absl-team Googletest export
2020-04-17 absl-team Googletest export
2020-03-28 arthur.j.odwyer Add -Wdeprecated to the build configuration.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_.
2020-04-19 igor.n.nazarenko Enable protobuf printing for open-source proto messages.
2020-04-16 arthur.j.odwyer VariadicMatcher needs a non-defaulted move constructor for compile-time performance.
2020-04-05 jijyunneng Remove duplicate codes existed in get-nprocessors.sh

Roll third_party/re2/ 209319c1b..8aef3d19d (1 commit)

google/re2@209319c...8aef3d1

$ git log 209319c1b..8aef3d19d --date=short --no-merges --format='%ad %ae %s'
2020-05-02 junyer `^' is a caret, not a carat.

Roll third_party/spirv-cross/ 7e0295abf..92f7d36c7 (2 commits)

KhronosGroup/SPIRV-Cross@7e0295a...92f7d36

$ git log 7e0295abf..92f7d36c7 --date=short --no-merges --format='%ad %ae %s'
2020-04-30 post MSL: Redirect member indices when buffer has been sorted by Offset.
2020-04-30 cwallez Fix -Wmicrosoft-enum-value

Roll third_party/spirv-tools/ d0a87194f..2e1d208ed (4 commits)

KhronosGroup/SPIRV-Tools@d0a8719...2e1d208

$ git log d0a87194f..2e1d208ed --date=short --no-merges --format='%ad %ae %s'
2020-05-01 afdx spirv-fuzz: Do not allow adding stores to read-only pointers (#3316)
2020-04-30 paulthomson reduce: increase default step limit (#3327)
2020-04-30 afdx Generalize IsReadOnlyVariable() to apply to pointers (#3325)
2020-04-28 stevenperron Delete nullptr in function bb list immedietly (#3326)

Created with:
  roll-dep third_party/effcee third_party/glslang third_party/googletest third_party/re2 third_party/spirv-cross third_party/spirv-headers third_party/spirv-tools

Fixes google#1056
zoddicus added a commit that referenced this issue May 4, 2020
Roll third_party/glslang/ f03cb290a..b5f003d7a (7 commits)

KhronosGroup/glslang@f03cb29...b5f003d

$ git log f03cb290a..b5f003d7a --date=short --no-merges --format='%ad %ae %s'
2020-05-01 cepheus Fix #2191: Error check for indexing reference containing unsize array.
2020-05-01 cepheus GLSL: Separate out swizzle handling (potentially fixing bugs).
2020-04-21 pmistry Add support for es extension GL_EXT_blend_func_extended * Introduces builtin variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT * Introduces builtin constant gl_MaxDualSourceDrawBuffersEXT * enables support for layout qualifier "index" in es profile
2020-04-30 63069047+pmistryNV Add support for extension GL_EXT_shader_integer_mix (#2203)
2020-04-26 pmistry Add support for extension GL_EXT_shader_implicit_conversions Updated extension management in TIntermediate class.
2020-04-30 cepheus Fix #2201: Improve const and copy constructor for TVarLivePair.
2020-04-29 63069047+pmistryNV Add support for extension GL_ARB_vertex_attrib_64bit (#2193)

Roll third_party/googletest/ dcc92d0ab..0eea2e9fc (16 commits)

google/googletest@dcc92d0...0eea2e9

$ git log dcc92d0ab..0eea2e9fc --date=short --no-merges --format='%ad %ae %s'
2020-04-30 absl-team Googletest export
2020-04-28 absl-team Googletest export
2020-04-27 absl-team Googletest export
2020-04-24 absl-team Googletest export
2020-04-23 absl-team Googletest export
2020-04-20 absl-team Googletest export
2020-04-20 absl-team Googletest export
2020-04-17 absl-team Googletest export
2020-03-28 arthur.j.odwyer Add -Wdeprecated to the build configuration.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning.
2020-04-16 arthur.j.odwyer Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_.
2020-04-19 igor.n.nazarenko Enable protobuf printing for open-source proto messages.
2020-04-16 arthur.j.odwyer VariadicMatcher needs a non-defaulted move constructor for compile-time performance.
2020-04-05 jijyunneng Remove duplicate codes existed in get-nprocessors.sh

Roll third_party/re2/ 209319c1b..8aef3d19d (1 commit)

google/re2@209319c...8aef3d1

$ git log 209319c1b..8aef3d19d --date=short --no-merges --format='%ad %ae %s'
2020-05-02 junyer `^' is a caret, not a carat.

Roll third_party/spirv-cross/ 7e0295abf..92f7d36c7 (2 commits)

KhronosGroup/SPIRV-Cross@7e0295a...92f7d36

$ git log 7e0295abf..92f7d36c7 --date=short --no-merges --format='%ad %ae %s'
2020-04-30 post MSL: Redirect member indices when buffer has been sorted by Offset.
2020-04-30 cwallez Fix -Wmicrosoft-enum-value

Roll third_party/spirv-tools/ d0a87194f..2e1d208ed (4 commits)

KhronosGroup/SPIRV-Tools@d0a8719...2e1d208

$ git log d0a87194f..2e1d208ed --date=short --no-merges --format='%ad %ae %s'
2020-05-01 afdx spirv-fuzz: Do not allow adding stores to read-only pointers (#3316)
2020-04-30 paulthomson reduce: increase default step limit (#3327)
2020-04-30 afdx Generalize IsReadOnlyVariable() to apply to pointers (#3325)
2020-04-28 stevenperron Delete nullptr in function bb list immedietly (#3326)

Created with:
  roll-dep third_party/effcee third_party/glslang third_party/googletest third_party/re2 third_party/spirv-cross third_party/spirv-headers third_party/spirv-tools

Fixes #1056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants