Jan Kratochvil 35cbc92
bison-3.0.4-4.fc24.x86_64
Jan Kratochvil 35cbc92
vs.
Jan Kratochvil 35cbc92
bison-2.7-4.el7.x86_64
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
bison:
Jan Kratochvil 35cbc92
8d0b7cef7df7fead44b9574cee342de336008625 tags/v3.0.1~2
Jan Kratochvil 35cbc92
    parsers: rename YY_NULL as YY_NULLPTR to avoid conflicts with Flex
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
ada-lex.c:113:0: error: "YY_NULL" redefined [-Werror]
Jan Kratochvil 35cbc92
 #define YY_NULL 0
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
ada-exp.c:158:0: note: this is the location of the previous definition
Jan Kratochvil 35cbc92
 #   define YY_NULL nullptr
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
*-exp.c cp-name-parser.c
Jan Kratochvil 35cbc92
vs.
Jan Kratochvil 35cbc92
ada-lex.c
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
# ifndef YY_NULL
Jan Kratochvil 35cbc92
#  if defined __cplusplus && 201103L <= __cplusplus
Jan Kratochvil 35cbc92
#   define YY_NULL nullptr
Jan Kratochvil 35cbc92
#  else
Jan Kratochvil 35cbc92
#   define YY_NULL 0
Jan Kratochvil 35cbc92
#  endif
Jan Kratochvil 35cbc92
# endif
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
# ifndef YY_NULLPTR
Jan Kratochvil 35cbc92
#  if defined __cplusplus && 201103L <= __cplusplus
Jan Kratochvil 35cbc92
#   define YY_NULLPTR nullptr
Jan Kratochvil 35cbc92
#  else
Jan Kratochvil 35cbc92
#   define YY_NULLPTR 0
Jan Kratochvil 35cbc92
#  endif
Jan Kratochvil 35cbc92
# endif
Jan Kratochvil 35cbc92
Jan Kratochvil 35cbc92
--- gdb-clean712/gdb/Makefile.in	2016-08-29 09:16:15.505393928 +0200
Jan Kratochvil 35cbc92
+++ gdb-clean712/gdb/Makefile.in	2016-09-07 13:32:34.744270346 +0200
Jan Kratochvil 35cbc92
@@ -1900,6 +1945,7 @@ po/$(PACKAGE).pot: force
Jan Kratochvil 35cbc92
 	     -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
Jan Kratochvil 35cbc92
 	     -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
Jan Kratochvil 35cbc92
 	     -e '/^#line.*y.tab.c/d' \
Jan Kratochvil 35cbc92
+	     -e 's/\<YY_NULL\>/YY_NULLPTR/g' \
Jan Kratochvil 35cbc92
 	  < $@.tmp > $@
Jan Kratochvil 35cbc92
 	rm -f $@.tmp
Jan Kratochvil 35cbc92
 .l.c: