[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 3.0.3 (stable)
From: |
Akim Demaille |
Subject: |
Re: Bison 3.0.3 (stable) |
Date: |
Tue, 20 Jan 2015 18:09:19 +0100 |
> Le 20 janv. 2015 à 18:08, Akim Demaille <address@hidden> a écrit :
> I installed the following patch then:
[sorry, I hit the wrong key combination :)]
commit eaa476a7e9316b0a5cb5d35467865f2ae2ef9a37
Author: Akim Demaille <address@hidden>
Date: Mon Jan 19 18:24:24 2015 +0100
tests: fix C++ conformance
Reported by Thomas Jahns.
http://lists.gnu.org/archive/html/bug-bison/2015-01/msg00059.html
* tests/c++.at (Exception safety): Add missing include.
Don't use const_iterator for erase.
diff --git a/tests/c++.at b/tests/c++.at
index 737037d..062e5f0 100644
--- a/tests/c++.at
+++ b/tests/c++.at
@@ -719,6 +719,7 @@ $1
#include <cstdlib> // size_t and getenv.
#include <iostream>
#include <set>
+ #include <string>
bool debug = false;
@@ -751,7 +752,7 @@ $1
~Object ()
{
log (this, "Object::~Object");
- objects::const_iterator i = instances.find (this);
+ objects::iterator i = instances.find (this);
// Make sure this object is alive.
assert (i != instances.end ());
Object::instances.erase (i);
- Re: Bison 3.0.3 (stable), (continued)
Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/19
- Message not available
- Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/19
- Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/19
- Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/19
- Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/19
- Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/20
- Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/20
- Re: Bison 3.0.3 (stable),
Akim Demaille <=
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/19
Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/20
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/20
Message not availableMessage not availableMessage not availableMessage not availableRe: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/21
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/21
Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/22
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/22
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/19
Re: Bison 3.0.3 (stable), Thomas Jahns, 2015/01/20
Re: Bison 3.0.3 (stable), Akim Demaille, 2015/01/20