ibireme / yyjson

The fastest JSON library in C
https://ibireme.github.io/yyjson/doc/doxygen/html/
MIT License
3.04k stars 262 forks source link

Error: An internal error has occurred in the compiler #105

Closed Iyiren closed 1 year ago

Iyiren commented 1 year ago

Describe the bug Error: An internal error has occurred in the compiler.

Your environment

Additional context

ibireme commented 1 year ago

LabWindows/CVI is not a common compiler, and I tried to evaluate it for a while.

LabCVI reports that it is based on Clang/LLVM 3.3, but the original clang 3.3 can compile yyjson successfully, so this may indeed be an "internal bug" in LabCVI.

I tried to make some changes and it looks like this compiler has an error when handling too much __attribute__((always_inline)) under the Debug configuration. As a workaround, you can delete the __attribute__((always_inline)) in yyjson.h.