[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] pdumper d9dcb3f 3/6: Limit -Wconversion to GCC >= 4.7
From: |
Daniel Colascione |
Subject: |
[Emacs-diffs] pdumper d9dcb3f 3/6: Limit -Wconversion to GCC >= 4.7 |
Date: |
Mon, 19 Feb 2018 12:02:50 -0500 (EST) |
branch: pdumper
commit d9dcb3f28b60a7ed214e7b02b67b7c5156c43806
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>
Limit -Wconversion to GCC >= 4.7
---
src/pdumper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pdumper.c b/src/pdumper.c
index 9a0770d..c1d50f0 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -61,7 +61,7 @@
# define CHECK_STRUCTS 1
#endif
-#ifdef __GNUC__
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
# pragma GCC diagnostic error "-Wconversion"
# pragma GCC diagnostic error "-Wshadow"
# define ALLOW_IMPLICIT_CONVERSION \
- [Emacs-diffs] pdumper updated (4eb06e3 -> b7da1a5), Daniel Colascione, 2018/02/19
- [Emacs-diffs] pdumper 131d65b 2/6: Use mmap retry on Cygwin too, Daniel Colascione, 2018/02/19
- [Emacs-diffs] pdumper 1de3fa3 4/6: Remove obsolete todo comment, Daniel Colascione, 2018/02/19
- [Emacs-diffs] pdumper b7da1a5 6/6: Avoid -Wconversion error in dump_read_all under MS-Windows, Daniel Colascione, 2018/02/19
- [Emacs-diffs] pdumper d9dcb3f 3/6: Limit -Wconversion to GCC >= 4.7,
Daniel Colascione <=
- [Emacs-diffs] pdumper 2971d13 5/6: Move unblock_input out of catch handler, Daniel Colascione, 2018/02/19
- [Emacs-diffs] pdumper 11976b6 1/6: Verify hashes of lisp structures during compilation, Daniel Colascione, 2018/02/19