Skip to content

syntax error caused by unconditional __has_include usage #439

Open
@firewave

Description

@firewave

Encountered while working on #438.

#if __has_include(<sys/single_threaded.h>)
# include <sys/single_threaded.h>
#endif
a.cpp:1: syntax error: failed to evaluate #if condition, division/modulo by zero

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions