Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: consider support for __has_include #77

Closed
willwray opened this issue Nov 21, 2022 · 1 comment
Closed

Feature request: consider support for __has_include #77

willwray opened this issue Nov 21, 2022 · 1 comment

Comments

@willwray
Copy link

__has_include is a handy feature (C++17 and coming in C23)

If added to pcpp it could be controlled by a commandline flag.
Existing -U or -D options may suffice:

-U__has_include disable the feature, enabled by default
-D__has_include enable the feature, disabled by default

U like the first alternative? Default enabled seems ok.
D to enable seems downright wrong, am i right.

@willwray
Copy link
Author

oops #53 already open, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant