From 31c65456cc5d33bc3e58fc7536475669c0e14d75 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 22 May 2015 12:05:39 +0200 Subject: 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 --- scripts/msvc2tasks.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ) { 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; -- cgit v1.2.1