[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gc
From: |
Evgeniy Tarassov |
Subject: |
Re: Re[2]: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()] |
Date: |
Thu, 23 Mar 2006 01:00:46 +0100 |
> Just in case this wasn't clear from the original message: we're still
> continuing to work on this and we should be able to fix it at least in cvs
> HEAD although, unfortunately, maybe not in 2.6 as the fix I currently have
> in mind might not be binary backwards compatible.
The bug (one of the bugs?) that prevents gcc3.2.3 from compiling the
wx samples shows itself in that code snippet (its a piece from dll.h
header file that defines class Foo that goes into a dll and is used
from the code outside of dll, Foo::Bar corresponds to
wxMenuItemList::DeleteFunction):
struct WXDLLEXPORT Foo
{
static void Bar();
struct SomeInnerClass // if you extract that class from within the
Foo class, the program will link
{
friend class Foo; // if you remove that the program will link
};
~Foo()
{
Bar();
}
};
The Foo::Bar function defined in cpp file that goes into dll does not
get exported and could not be picked up by the code that uses Foo
class. A workaround could be to move that Foo::Bar static function
into an external (vis-a-vis Foo) empty class.
As soon as the patch is ready and tested (and approved by Vadim :-) of
course) it will appear in HEAD.
Eugene
- Re: [lmi] wx segfault iterating on GetChildren(), (continued)
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [lmi] wx segfault iterating on GetChildren(), Greg Chicares, 2006/03/12
- Re: [lmi] wx segfault iterating on GetChildren(), Greg Chicares, 2006/03/12
- Re: [lmi] wx segfault iterating on GetChildren(), Evgeniy Tarassov, 2006/03/16
- Re: [lmi] wx segfault iterating on GetChildren(), Greg Chicares, 2006/03/16
- Old libstdc++ problem with 'alert.cpp' [Was: [lmi] wx segfault iterating on GetChildren()], Greg Chicares, 2006/03/17
- [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()], Greg Chicares, 2006/03/20
- Re: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()], Evgeniy Tarassov, 2006/03/22
- Re[2]: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()], Vadim Zeitlin, 2006/03/22
- Re: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()], Greg Chicares, 2006/03/22
- [lmi] Don't do that! [Was: Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3], Greg Chicares, 2006/03/27
- Re: Re[2]: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()],
Evgeniy Tarassov <=
- Re[4]: [lmi] Failure linking sample programs: wx-2.6.2 with MinGW gcc-3.2.3 [Was: wx segfault iterating on GetChildren()], Vadim Zeitlin, 2006/03/22
- Re[2]: [lmi] wx segfault iterating on GetChildren(), Vadim Zeitlin, 2006/03/21
Determine whether window created yet [Was: [lmi] wx segfault iterating on GetChildren()], Greg Chicares, 2006/03/11