[Olsr-dev] [PATCH v1 01/14] make: add more recognised formats to the gcc-warnings script
Ferry Huberts
(spam-protected)
Wed Feb 24 00:46:10 CET 2016
From: Ferry Huberts <(spam-protected)>
And fix a typo
Signed-off-by: Ferry Huberts <(spam-protected)>
---
gcc-warnings | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gcc-warnings b/gcc-warnings
index 9bf8079..3ed7617 100755
--- a/gcc-warnings
+++ b/gcc-warnings
@@ -33,6 +33,14 @@ parsetest() {
opt="${error#*\"}"
opt="${opt%\"*}"
;;
+ *:\ unrecognized\ *option\ \‘*)
+ opt="${error#*\‘}"
+ opt="${opt%\‘*}"
+ ;;
+ *:\ unrecognized\ *option\ \'*)
+ opt="${error#*\'}"
+ opt="${opt%\'*}"
+ ;;
*:\ unrecognized\ *option\ \`*)
opt="${error#*\`}"
opt="${opt%\'*}"
@@ -41,7 +49,7 @@ parsetest() {
;;
esac
# if we come here, we have in $opt the option to remove. and
- # we remove all instances. And we save agoinst leading "-"
+ # we remove all instances. And we save against leading "-"
NEW_OPTS=""
for o in $OPTS; do
case "$o" in
--
2.5.0
More information about the Olsr-dev
mailing list