[Bug c++/52817] g++ do not call a method with same name on some platforms(see small example source attached)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 1 12:47:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52817

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-01 12:46:58 UTC ---
(In reply to comment #1)
> Stop using unsafe casts between incompatible types.

That is the least of the worries here.

The real issue is how is va_list implemented on some target.  There is no one
right way of implementing va_list.  It could be implemented as an array or a
struct.

Can you provide the preprocessed source?  It might be a bug in the headers you
are using or it could be just the way va_list is implemented (as a void*).



More information about the Gcc-bugs mailing list