[GCC-XML] Should I ever get two "ids" that are the same?

John Morrison jm at mak.com
Tue Nov 2 18:25:06 EST 2004


Hi All;

Sorry if this is another stupid newbie question.  Should I expect each
id in a given run of gccxml to be unique?

I was using a hash table to save the XML parse nodes in, and was quite
surprised to get a collision (you can blame a fit of programmer
paranoia for the collision check).

Is this expected?  (I am hoping it's not expected, as I use the ids as
unique identifiers by which the associated node can be unambiguously
reffered to.)

Thanks,

-jm

-- 
==== John Morrison
==== MAK Technologies Inc.
==== 10 Fawcett Street, Cambridge, MA 02138
==== http://www.mak.com/
==== vox:617-876-8085 x115
==== fax:617-876-9208
==== jm at mak.com





More information about the gccxml mailing list