syntax error caused by unconditional `__has_include` usage
cppcheck-opensource / simplecpp Public
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
Description
opened
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
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests