8000 -Wpedantic: CLang >= 3.2 as well (Update 02-Use_the_Tools_Available.md) · ankuPRK/cppbestpractices@f49737b · GitHub
[go: up one dir, main page]

Skip to content

Commit f49737b

Browse files
authored
-Wpedantic: CLang >= 3.2 as well (Update 02-Use_the_Tools_Available.md)
1 parent 147736a commit f49737b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-Use_the_Tools_Available.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You should use as many compilers as you can for your platform(s). Each compiler
105105
* `-Wcast-align` warn for potential performance problem casts
106106
* `-Wunused` warn on anything being unused
107107
* `-Woverloaded-virtual` warn if you overload (not override) a virtual function
108-
* `-Wpedantic` (GCC only) warn if non-standard C++ is used
108+
* `-Wpedantic` (all versions of GCC, Clang >= 3.2) warn if non-standard C++ is used
109109
* `-Wconversion` warn on type conversions that may lose data
110110
* `-Wsign-conversion` (Clang all versions, GCC >= 4.3) warn on sign conversions
111111
* `-Wmisleading-indentation` (only in GCC >= 6.0) warn if indentation implies blocks where blocks do not exist

0 commit comments

Comments
 (0)
0