> Hi,
>
> A comment in include/wx/scopeguard.h says that we can't use the namespaces
> because they're not supported by g++ 2.8 which is used for OS/2. Is this
> still true or can we finally clean up this code (in the trunk)?
I don't use gcc-2.8.1 for wx any longer, so I have no objections.
I've copied this reply to both OS/2 lists in case anyone else still
needs this.
Cheers,
Dave
I use only GCC 3.3.5 :)
Cheers,
Paul.
> > I've copied this reply to both OS/2 lists in case anyone else still
> > needs this.
>
> I use only GCC 3.3.5 :)
Which doesn't work for the X11 based ports of wx to OS/2 (which still work
a quite a bit better than the native port) . But even for those, there is
gcc-3.2.1 that should be usable.
Also, I wonder if it would be possible to point gcc-3.3.5 to the include and
libraries of gcc-2.8.1 to use the old (X11-compatible) EMX libraries with the
new compiler...
Regards,
Stefan
Really for X11 you should use 3.0.3 as that is what X11 was compiled with.
Also note that the EMX headers are getting really long in the tooth,
missing many modern includes.
>
> Also, I wonder if it would be possible to point gcc-3.3.5 to the include and
> libraries of gcc-2.8.1 to use the old (X11-compatible) EMX libraries with the
> new compiler...
>
I'm pretty sure this is not doable.
What I have done is compiled the X11 dlls with gcc-3.3.5 and then by
using libpathstrict and beginlibpath and using tcpip to communicate to
the Xserver most things work. To use tcpip instead of pipes you need to
use something like -display 127.0.0.1:0 instead of -display :0
Haven't tested wx though
Dave