◐ Shell
clean mode source ↗

syntax error caused by unconditional `__has_include` usage

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

Assignees

firewave

Labels

@firewave

Description

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

Type

No type

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions