[cfe-dev] Explicit cast needed under Minix to disambiguate a call to Builder.getInt32()
Kees van Reeuwijk
reeuwijk at few.vu.nl
Thu Jul 15 06:16:26 PDT 2010
The attached patch adds a cast to uint32_t to a call to Builder.getInt32(). Without it gcc refuses to compile this code,
complaining that it can't choose between two possible Builder.getInt32() methods.
I submit this to the cfe-dev mailing list rather than the cfe-commits mailing list since I suspect that this particular fix is
considered too ugly, and should be replaced with something more elegant. Unfortunately I don't know enough about clang to know
what this elegant solution should be.
Dr. Ir. Kees van Reeuwijk, Vrije Universiteit Amsterdam
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-dev