mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
c++: variants: comparing addresses of typeid.name() is undefined
Instead of storing and comparing pointers to names of types, store pointers to the typeids, and compares the typeids. Reported by Thomas Jahns. <http://lists.gnu.org/archive/html/bug-bison/2014-03/msg00001.html> * data/variant.hh (yytname_): Replace with... (yytypeid_): this.
This commit is contained in:
1
THANKS
1
THANKS
@@ -132,6 +132,7 @@ Steve Murphy murf@parsetree.com
|
||||
Sum Wu sum@geekhouse.org
|
||||
Théophile Ranquet theophile.ranquet@gmail.com
|
||||
Thiru Ramakrishnan thiru.ramakrishnan@gmail.com
|
||||
Thomas Jahns jahns@dkrz.de
|
||||
Tim Josling tej@melbpc.org.au
|
||||
Tim Landscheidt tim@tim-landscheidt.de
|
||||
Tim Van Holder tim.van.holder@pandora.be
|
||||
|
||||
Reference in New Issue
Block a user