#1062·cJSON

[Windows/Clang] Build failure in cJSON

Author: wissem01chihaCreated Aug 2, 2026Updated Aug 5, 2026

Hi , thanks all for the cJSON project, i am using it in my project slxio which used libtex relaying on cJSON , and my CI jobs failed on Windows with recent clang compiler check it here: https://github.com/wissem01chiha/slxio/actions/runs/30749377176/job/91500548923#step:6:30

the problem raises from here : https://github.com/DaveGamble/cJSON/blob/fb16e5cf358798aabb049655975cde8427101056/cJSON.c#L2075 personally i dont use clang on my machine so the CI log all what i have , but i am planning to install it,

NB: This issue is Windows only related !

anyone has solution ? or idea ?

thanks , wissem