FileZilla 3 development diary
Moderator: Project members
Unfortunately my wxListCtrl patch just got rejected, since it would break working code.
Instead now I have to use ugly const casts and such things, with the usual problems coming from that, like incompatibilities with compiler optimizations and such.
The holy grail of backwards compatibility seems to be more important like a clean good design.
Instead now I have to use ugly const casts and such things, with the usual problems coming from that, like incompatibilities with compiler optimizations and such.
The holy grail of backwards compatibility seems to be more important like a clean good design.
My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:
I had to write 4 lines of documentation for this code, it's a shame
Code: Select all
CLocalListView *pThis = const_cast<CLocalListView *>(this);
WEll it is just more 0,01 bite ... more or less it will not drestroy FZ3...botg wrote:My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:I had to write 4 lines of documentation for this code, it's a shameCode: Select all
CLocalListView *pThis = const_cast<CLocalListView *>(this);
in the future i will CAN say "BOTG is good he fixed this shame ^^"
casts always suck... I had to cast a lot for my Gnutella client though...botg wrote:My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:I had to write 4 lines of documentation for this code, it's a shameCode: Select all
CLocalListView *pThis = const_cast<CLocalListView *>(this);
Hmmm... I install new wxwidget (2.5.x) and try to compile cvs but it fails.botg wrote:I definately have too much time.
After reading a complete book, several online manuals and some long discussions with other developers, I managed to create the neccessary input files for the GNU autotools.
From now on, FileZilla 3 compiles cleanly on Linux and hopefully any other system where wxWindows is available on.
System: SuSE 9.0, gcc 3.3.1, wxwidget 2.5.1
Can you look for it?
Here is a compile log:
[log removed - botg]
I've no idea what could be the reason for this problem. Have you already tried the latest CVS version of wxWidgets?
You also need to apply the following patch to wxWidgets which has not yet been accepted: http://filezilla.sourceforge.net/misc/subindent.patch
You also need to apply the following patch to wxWidgets which has not yet been accepted: http://filezilla.sourceforge.net/misc/subindent.patch
hmmm why I need so much actual version wxwidget?botg wrote:I've no idea what could be the reason for this problem. Have you already tried the latest CVS version of wxWidgets?
You also need to apply the following patch to wxWidgets which has not yet been accepted: http://filezilla.sourceforge.net/misc/subindent.patch
Installed was 2.4.2 and i upgrade to 2.5.1. Maybe missing a #include?
I will try here on debian unstable (without cvs of wx).