This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #8 from bernd_afa <nospamname at web dot de> 2012-04-01 14:16:15 UTC ---
(In reply to comment #7)
> >there is a C++ game called dunelegacy which work on other GCC architecture ok
> 
> Yes so the ABI for the 68k says va_list is a void* which is a valid choice as
> far as the C++ standard is concerned.
> 
> I think you need to rethink the function names so that ... is chosen over
> void*.  as Andreas said, the conversion to void* is chosen over a ... function.

>I think you need to rethink the function names so that ... is chosen over
>void*.  as Andreas said, the conversion to void* is chosen over a ... function.

I like to change this for the compiler, to be compatible and at least to test
if there run more C++ Programs on 68k. How is that possible when i use buildin
va_list ?

there is AROS a amiga replacement OS.It is platform independent and run
currently on X86, arm, ppc and 68k and use GCC as compiler on all
platforms.here can see what platforms it support

http://aros.sourceforge.net/download.php

But the OWB webbrowser and dunelegacy do not work on 68k.
OWB is based on webkit engine.

somebody else compile it for amiga OS. It compile ok, but crash. it was too
hard to find the Problem in this big program. I search not long and give up.

some weeks later i get a report, that dunelegacy do not work on 68k.
It was not so large and i find the problems.I see OWB use lots va_list.

maybe change va_list to mainstraim behavior in the amigaos or AROS compiler
build let more C++ programs get working without changes.

A problem too is that GCC give no warning, about a unused depatcher method or
sow.

So please help and tell me what i can do.
I can compile GCC 68k


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]