Skip to content

Commit 70fc176

Browse files
committed
vcxproj: ignore the -pedantic option
This is now passed by default, ever since 6a8cbc4 (developer: enable pedantic by default, 2021-09-03). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 77f6d01 commit 70fc176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/buildsystems/engine.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ sub handleCompileLine
263263
if ("$part" eq "-o") {
264264
# ignore object file
265265
shift @parts;
266-
} elsif ("$part" eq "-c" || "$part" eq "-i" || "$part" =~ /^-fno-/) {
266+
} elsif ("$part" eq "-c" || "$part" eq "-i" || "$part" =~ /^-fno-/ || "$part" eq '-pedantic') {
267267
# ignore compile flag
268268
} elsif ($part =~ /^.?-I/) {
269269
push(@incpaths, $part);

0 commit comments

Comments
 (0)