We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What kind of issue is this?
Operating system: Windows 10
PlatformIO Version (platformio --version): PlatformIO Core, version 5.2.0a6
platformio --version
When I use -std=gnu++2a in my build flags and I try to run pio check I get an error:
-std=gnu++2a
pio check
cppcheck: error: unrecognized command line option: "--std=c++2a".
It seems similiar to my previous issue #3653, to confirm that I've changed
platformio-core/platformio/commands/check/tools/cppcheck.py
Line 148 in 9695720
cmd.append("-" + flag.replace("gnu", "c").replace("2a","20"))
After that hardcoded fix I am able to run cppcheck, I haven't check other tools so they might have the same issue.
The text was updated successfully, but these errors were encountered:
Properly handle in-progress C++ standards when invoking Cppcheck // R…
0c360ee
…esolve #3944
8df4682
4a4d8a8
6008275
…esolve #3944 (#4070)
valeros
Successfully merging a pull request may close this issue.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Windows 10
PlatformIO Version (
platformio --version
): PlatformIO Core, version 5.2.0a6Description of problem
When I use
-std=gnu++2a
in my build flags and I try to runpio check
I get an error:It seems similiar to my previous issue #3653, to confirm that I've changed
platformio-core/platformio/commands/check/tools/cppcheck.py
Line 148 in 9695720
After that hardcoded fix I am able to run cppcheck, I haven't check other tools so they might have the same issue.
The text was updated successfully, but these errors were encountered: