Closed willwray closed 1 year ago
__has_include is a handy feature (C++17 and coming in C23)
__has_include
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__has_include
-D__has_include
U like the first alternative? Default enabled seems ok. D to enable seems downright wrong, am i right.
oops #53 already open, closing
__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 defaultU like the first alternative? Default enabled seems ok. D to enable seems downright wrong, am i right.