[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d0ece2a 3/5: Exercise CC as well as CXX
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d0ece2a 3/5: Exercise CC as well as CXX |
Date: |
Thu, 21 Jun 2018 18:35:41 -0400 (EDT) |
branch: master
commit d0ece2a38dda00f06ce7067d5a05d174e6905500
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Exercise CC as well as CXX
Motivation: Additional gcc warnings will soon be enabled. It seems
desirable to maintain distinct lists for gcc, g++, and both. In the
future, lmi might use C files, as it did in the past, but no longer
does until this commit; adding one now ensures that the warnings are
all tested. And it may be more efficient to compile glibc code as C.
* nychthemeral_test.sh: Filter out CC output. Incidentally immunize
this and other filters against superfluous whitespace.
* round_glibc.cpp: Renamed to round_glibc.c .
---
nychthemeral_test.sh | 5 +++--
round_glibc.cpp => round_glibc.c | 0
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 7926da1..86c293b 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -49,8 +49,9 @@ build_clutter='
/^make.*\[[0-9]*\]: Nothing to be done for/d
/^make.*\[[0-9]*\]: warning: -jN forced in submake: disabling jobserver
mode.$/d
/^make.*\[[0-9]*\]: .* is up to date\./d
-/^[^ ]*cpp -x /d
-/^[^ ]*g++ -[Mo]/d
+/^[^ ]*cpp *-x /d
+/^[^ ]*g++ *-[Mo]/d
+/^[^ ]*gcc *-[Mo]/d
/^[^ ]*windres -o /d
'
diff --git a/round_glibc.cpp b/round_glibc.c
similarity index 100%
rename from round_glibc.cpp
rename to round_glibc.c