syntax error caused by unconditional `__has_extension` usage
cppcheck-opensource / simplecpp Public
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
opened
Encountered while working on #438.
# if __has_extension(cxx_rvalue_references) # endif
a.cpp:1: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_extension( ... )
See
https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fextension.html
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No 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