[cfe-dev] Explicit cast needed under Minix to disambiguate a call to Builder.getInt32()
Chris Lattner
clattner at apple.com
Thu Jul 15 14:24:33 PDT 2010
This should be fixed in r108462, thanks!
-Chris
On Jul 15, 2010, at 6:16 AM, Kees van Reeuwijk wrote:
> Hi,
>
> 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
> <minix-uint.diff>_______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list