Re: gcc emit wrong symbols in multiple inheritance case

2008-07-31 Thread Bo Yang
On Thu, Jul 31, 2008 at 11:00 PM, Brian Dessent <[EMAIL PROTECTED]> wrote: > Bo Yang wrote: > >> When we produce an exe from a single c++ file, there is no linking >> need, so there is no problem. But when we separate the definition and > > That's not how it work

Re: gcc emit wrong symbols in multiple inheritance case

2008-07-31 Thread Bo Yang
On Thu, Jul 31, 2008 at 12:48 AM, Brian Dessent <[EMAIL PROTECTED]> wrote: > Benjamin Smedberg wrote: > >> For what it's worth, Bo is my intern in the Google SoC and has traced this >> back to being a code-generation error (missed stdcall mangling) in the mingw >> backend. I will work with him to n

Re: gcc emit wrong symbols in multiple inheritance case

2008-07-28 Thread Bo Yang
>When I am trying to build Mozilla with gcc-mingw, I came across > the linkage error of undefined symbols in multiple inheritance case. > And I have made a simple test case to reproduce the problem. But the > test case is still very complex, I think. So, I came down to find the > what are the r

gcc emit wrong symbols in multiple inheritance case

2008-07-25 Thread Bo Yang
Hi Dear Gcc developers, When I am trying to build Mozilla with gcc-mingw, I came across the linkage error of undefined symbols in multiple inheritance case. And I have made a simple test case to reproduce the problem. But the test case is still very complex, I think. So, I came down to find th