You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liborc/SOURCES/0002-c++-src-CpuInfoUtil.cc...

17 lines
670 B

--- orc-2.0.0/c++/src/CpuInfoUtil.cc.orig 2024-03-15 08:52:33.787695763 -0400
+++ orc-2.0.0/c++/src/CpuInfoUtil.cc 2024-03-15 09:06:39.153868514 -0400
@@ -485,11 +485,11 @@
#else
//------------------------------ PPC, ... ------------------------------//
- bool ArchParseUserSimdLevel(const std::string& simd_level, int64_t* hardware_flags) {
+ bool ArchParseUserSimdLevel([[maybe_unused]] const std::string& simd_level, [[maybe_unused]] int64_t* hardware_flags) {
return true;
}
- void ArchVerifyCpuRequirements(const CpuInfo* ci) {}
+ void ArchVerifyCpuRequirements([[maybe_unused]] const CpuInfo* ci) {}
#endif // X86, ARM, PPC