riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
595 stars 308 forks source link

Eliminate Wunknown-pragmas for Clang/LLVM #265

Closed ZenithalHourlyRate closed 2 years ago

ZenithalHourlyRate commented 2 years ago

With Clang/LLVM,

/home/zenithal/T/playground/dependencies/riscv-pk/util/string.c:9:13: error: unknown pragma ignored [-Werror,-Wunknown-pragmas]
#pragma GCC optimize ("no-tree-loop-distribute-patterns")
            ^
1 error generated.
aswaterman commented 2 years ago

Thanks!