X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=1a3d55c55f7ef70ee7d929a170e27428f1a602a4;hp=91a5f4943c29076d61bde0904dffc7aa8d38a74a;hb=a478f5c6485df6520be9e08832fbf8f1e0a39d15;hpb=53e64de60f08fcb752b1f3ccb41c9e8555be8866 diff --git a/bin/blhc b/bin/blhc index 91a5f49..1a3d55c 100755 --- a/bin/blhc +++ b/bin/blhc @@ -331,7 +331,14 @@ sub is_non_verbose_build { } # False positives. + # + # C++ compiler setting. return 0 if $line =~ /^\s*C\+\+.+?:\s+(?:yes|no)\s*$/; + # "Compiling" with no file name. + if ($line =~ /^\s*(?:C|c)ompiling\s+(.+?)(?:\.\.\.)?$/) { + # $file_extension_regex may need spaces around the filename. + return 0 if not " $1 " =~ /$file_extension_regex/o; + } my $file = $1;