summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-22 12:05:39 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-22 10:23:24 +0000
commit31c65456cc5d33bc3e58fc7536475669c0e14d75 (patch)
tree2a62df639d4642d8e0ac3288ff59004e2e66299a
parent0a2d3e638d708f26c7d734fcd0a8bf6e11e8303e (diff)
downloadqt-creator-31c65456cc5d33bc3e58fc7536475669c0e14d75.tar.gz
msvc2tasks.pl: Adapt to MSVC2015.
The format of the compiler warnings changed: c:\foo.cpp(395) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\foo.cpp(395): warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) Change-Id: Iaa04d8fedbb0a3da2802be1c860d54fefb7bfe5d Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
-rw-r--r--scripts/msvc2tasks.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/msvc2tasks.pl b/scripts/msvc2tasks.pl
index b6266dd526..6e5d476f99 100644
--- a/scripts/msvc2tasks.pl
+++ b/scripts/msvc2tasks.pl
@@ -16,7 +16,7 @@ while (my $line = <STDIN> ) {
chomp($line);
# --- extract file name based matching:
# c:\foo.cpp(395) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
- if ($line =~ /^([^(]+)\((\d+)\) : warning (C\d+:.*)$/) {
+ if ($line =~ /^([^(]+)\((\d+)\) ?: warning (C\d+:.*)$/) {
my $fileName = $1;
my $lineNumber = $2;
my $text = $3;