fix the fix.
This commit is contained in:
parent
305b6e1a07
commit
9cf29ac9ba
@ -6,7 +6,7 @@ diff -up SPIRV-Tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa/source/spirv_targe
|
|||||||
}
|
}
|
||||||
|
|
||||||
+// workaround gcc12/stdlibc++ -Wrestrict bug.
|
+// workaround gcc12/stdlibc++ -Wrestrict bug.
|
||||||
+#pragma GCC diagnostic ignore "-Wrestrict"
|
+#pragma GCC diagnostic ignored "-Wrestrict"
|
||||||
std::string spvTargetEnvList(const int pad, const int wrap) {
|
std::string spvTargetEnvList(const int pad, const int wrap) {
|
||||||
std::string ret;
|
std::string ret;
|
||||||
size_t max_line_len = wrap - pad; // The first line isn't padded
|
size_t max_line_len = wrap - pad; // The first line isn't padded
|
||||||
|
Loading…
Reference in New Issue
Block a user