We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, i'm making this issue to signal that spirv tools cant actually compile using werror due to a deprecated enum conversion:
SPIRV-Tools/tools/diff/diff.cpp: In function ‘std::unique_ptrspvtools::opt::IRContext {anonymous}::load_module(const char*)’: SPIRV-Tools/tools/diff/diff.cpp:90:54: error: bitwise operation between different enumeration types ‘spvtools::SpirvTools::’ and ‘spv_text_to_binary_options_t’ is deprecated [-Werror=deprecated-enum-enum-conversion] 90 | spvtools::SpirvTools::kDefaultAssembleOption | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 91 | SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
@ShabbyX The file mentioned is in spirv-diff. Can you take a look?
Sorry, something went wrong.
ShabbyX
No branches or pull requests
Hello, i'm making this issue to signal that spirv tools cant actually compile using werror due to a deprecated enum conversion:
SPIRV-Tools/tools/diff/diff.cpp: In function ‘std::unique_ptrspvtools::opt::IRContext {anonymous}::load_module(const char*)’:
SPIRV-Tools/tools/diff/diff.cpp:90:54: error: bitwise operation between different enumeration types ‘spvtools::SpirvTools::’ and ‘spv_text_to_binary_options_t’ is deprecated [-Werror=deprecated-enum-enum-conversion]
90 | spvtools::SpirvTools::kDefaultAssembleOption |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
91 | SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: