'short wchar_t' is invalid (stddef.h)

I had been using a project without issues in XCode 14. However, when I tried building it in XCode 15, I received the following error: 'short wchar_t' is invalid on stddef.h. I'm looking for guidance on how to build it successfully.

I am also experiencing this phenomenon. I am using "-fshort-wchar" in the "Other C++ flags" option, but a build error occurs starting with xcode 15. Are there any changes in the compiler for wchar_t? It looks like the xcode needs to be fixed or a guide on how to solve it. Quick action is needed. If anyone knows a solution, I would appreciate it if you could let me know.

Quick action is needed. Apple...

'short wchar_t' is invalid (stddef.h)
 
 
Q