Package: blhc
Version: 0.03+20120626+git93afe23-1
Severity: wishlist
Hello. Ada sources are compiled with gcc command lines.
CPPFLAGS do not make sense at all for them. Please consider the
following trivial patch.
--- /usr/bin/blhc 2012-06-27 17:56:19.000000000 +0200
+++ /tmp/blhc 2012-07-03 19:41:59.512675627 +0200
@@ -93,10 +93,14 @@
qw( mi ),
# Fortran
qw( f for ftn f90 f95 f03 f08 ),
+ # Ada body
+ qw( adb ),
);
my @source_no_preprocess_no_compile = (
# Assembly
qw( s ),
+ # Ada specification
+ qw( ads ),
);
my @source_no_preprocess = (
@source_no_preprocess_compile,
In CFLAGS, -Wformat and -Werror=format-security do not make sense
either, they even produce noisy GCC warnings if activated for Ada
files. It seems more difficult to remove them from blhc false
positives without deeper modifications.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]