Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Guide/TOOLING.md
diff options
context:
space:
mode:
authorLeitwolf2026-10-31 13:01:49 +0300
committerGitHub2026-10-31 13:01:49 +0300
commitc0e89a73611f5730ff4d5172adb2a07be98d7b48 (patch)
tree7e32402fa9c06014328a27d7972c2fb1a9484352 /Guide/TOOLING.md
parent8d1fb4807edc7920fbecd0554c9c61625827e19c (diff)
parent1f5458322669301f62599c1ec5dacb77b5dc2d8d (diff)
downloadprogmasoft-cpp-main.tar.gz
Merge pull request #1 from Progmasoft/docs/cpp17-and-cpp20HEADmain
Cover C++17 as well as C++20
Diffstat (limited to 'Guide/TOOLING.md')
-rw-r--r--Guide/TOOLING.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Guide/TOOLING.md b/Guide/TOOLING.md
index 1a2ceaa..5852cd4 100644
--- a/Guide/TOOLING.md
+++ b/Guide/TOOLING.md
@@ -15,7 +15,7 @@ as errors, in a CI job of its own.
### Flags
```text
--std=c++20
+-std=c++20 # -std=c++17 in a C++17 project
-fno-exceptions
-Wall -Wextra -Wpedantic -Werror
-Wshadow
@@ -36,7 +36,7 @@ as errors, in a CI job of its own.
-Wcomma
```
-With `clang-cl`, each flag is passed as `/clang:<flag>`, and the language standard as `/std:c++20`.
+With `clang-cl`, each flag is passed as `/clang:<flag>`, and the language standard as `/std:c++20` or `/std:c++17`.
These flags apply to first-party code only. Third-party code is compiled with its own options; its headers are included
as system headers (`-isystem`, or the build tool's equivalent), so their warnings do not fail the build.