Projects
Factory:RISC-V:Base
spirv-tools
_service:tar_scm:fix-gcc12-build-bug-with-Wrest...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-gcc12-build-bug-with-Wrestrict.patch of Package spirv-tools
diff --git a/source/spirv_target_env.cpp b/source/spirv_target_env.cpp index 9a03817..6dc0dc6 100644 --- a/source/spirv_target_env.cpp +++ b/source/spirv_target_env.cpp @@ -397,6 +397,8 @@ std::string spvLogStringForEnv(spv_target_env env) { return "Unknown"; } +// workaround gcc12/stdlibc++ -Wrestrict bug. +#pragma GCC diagnostic ignored "-Wrestrict" std::string spvTargetEnvList(const int pad, const int wrap) { std::string ret; size_t max_line_len = wrap - pad; // The first line isn't padded
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2