File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ function (mongoc_add_warning_options)
28
28
set (cond/gcc-lt7 $< AND:${cond/gnu},$< VERSION_LESS:$< C_COMPILER_VERSION> ,7> > )
29
29
set (cond/gcc-lt8 $< AND:${cond/gnu},$< VERSION_LESS:$< C_COMPILER_VERSION> ,8> > )
30
30
set (cond/gcc-lt11 $< AND:${cond/gnu},$< VERSION_LESS:$< C_COMPILER_VERSION> ,11> > )
31
+ set (cond/clang-lt4 $< AND:${cond/clang},$< VERSION_LESS:$< C_COMPILER_VERSION> ,4> > )
31
32
set (cond/clang-lt10 $< AND:${cond/clang},$< VERSION_LESS:$< C_COMPILER_VERSION> ,10> > )
32
33
set (cond/clang-lt19 $< AND:${cond/clang},$< VERSION_LESS:$< C_COMPILER_VERSION> ,19> > )
33
34
# Process options:
@@ -96,7 +97,7 @@ mongoc_add_warning_options (
96
97
# Clang does not include several flags in `-Wformat` or `-Wformat=2`.
97
98
# For assurance, explicitly include those not listed by -Wformat or -Wformat=2.
98
99
clang:-Werror=format-non-iso
99
- clang:-Werror=format-pedantic
100
+ clang:not-clang-lt4: -Werror=format-pedantic
100
101
clang:not-clang-lt19:-Werror=format-signedness
101
102
clang:not-clang-lt10:-Werror=format-type-confusion
102
103
You can’t perform that action at this time.
0 commit comments