[gnome-commander/ConvertWarningsToErrors] gnome-cmd-advrename-lexer.ll: yet another disgarding of warning from flex output
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] gnome-cmd-advrename-lexer.ll: yet another disgarding of warning from flex output
- Date: Wed, 19 Apr 2017 20:07:41 +0000 (UTC)
commit eb5165a5c8404b81a9034cebc3d607b9e6a2042d
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Wed Apr 19 23:13:58 2017 +0900
gnome-cmd-advrename-lexer.ll: yet another disgarding of warning from flex output
There are other warnings against the output from flex which cannot
be fixed in gnome-commander side:
gnome-cmd-advrename-lexer.cc:1884:17: error: comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
for ( i = 0; i < _yybytes_len; ++i )
src/gnome-cmd-advrename-lexer.ll | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index dfe39d2..ffb45bd 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -319,6 +319,7 @@ tag_name {ape}|{audio}|{doc}|{exif}|{file}|{flac}|{id3}|{image}|{iptc}|{pdf}|
#if defined (__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch-default"
+#pragma GCC diagnostic ignored "-Wsign-compare"
#endif
%}
[^%$]+ ECHO; // concatenate consecutive
non-[%$] chars into single TEXT chunk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]