head 1.2; access; symbols pkgsrc-2018Q4:1.1.0.30 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.28 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.26 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.24 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.22 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.20 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.16 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.14 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.12 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.10 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.8 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.6 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @ * @; 1.2 date 2019.01.22.03.20.40; author ryoon; state dead; branches; next 1.1; commitid iidHnzCLtIg2aJ8B; 1.1 date 2015.06.30.21.39.09; author richard; state Exp; branches; next ; commitid 8WtO41HAqGx95vry; desc @@ 1.2 log @Update to 3.0.5 Changelog: * Noteworthy changes in release 3.0.5 (2018-05-27) [stable] ** Bug fixes *** C++: Fix support of 'syntax_error' One incorrect 'inline' resulted in linking errors about the constructor of the syntax_error exception. *** C++: Fix warnings GCC 7.3 (with -O1 or -O2 but not -O0 or -O3) issued null-dereference warnings about yyformat being possibly null. It also warned about the deprecated implicit definition of copy constructors when there's a user-defined (copy) assignment operator. *** Location of errors In C++ parsers, out-of-bounds errors can happen when a rule with an empty ride-hand side raises a syntax error. The behavior of the default parser (yacc.c) in such a condition was undefined. Now all the parsers match the behavior of glr.c: @@$ is used as the location of the error. This handles gracefully rules with and without rhs. *** Portability fixes in the test suite On some platforms, some Java and/or C++ tests were failing. @ text @$NetBSD: patch-lib_stdio.in.h,v 1.1 2015/06/30 21:39:09 richard Exp $ avoid warnings w.r.t. gets() when c++ is used --- lib/stdio.in.h.orig 2015-01-15 08:25:52.000000000 +0000 +++ lib/stdio.in.h @@@@ -723,7 +723,7 @@@@ _GL_WARN_ON_USE (getline, "getline is un so any use of gets warrants an unconditional warning; besides, C11 removed it. */ #undef gets -#if HAVE_RAW_DECL_GETS +#if HAVE_RAW_DECL_GETS && !defined(__cplusplus) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif @ 1.1 log @Bison needs perl and sh replacements for testsuite to run, plus a patch to gnulib/stdio.in.h to avoid warnings with g++. Revision bump. @ text @d1 1 a1 1 $NetBSD$ @