simplecpp icon indicating copy to clipboard operation
simplecpp copied to clipboard

syntax error caused by unconditional `__has_include_next` usage

Open firewave opened this issue 5 months ago • 0 comments

Encountered while working on #438.

# if __has_include_next(<cstddef>)
# endif
a.cpp:1: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include_next( ... )

See https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html.

firewave avatar Aug 06 '25 09:08 firewave