Opened 19 years ago
Last modified 19 years ago
#952 closed Bug report
Compiling with Visual C++ 2005
Reported by: | glenara | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Server |
Keywords: | Cc: | glenara, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
Compiling FZ Server (0.9.10a) with Visual C++ 2005
Express Beta Edition.
Due to future changes in the compiler, i.e. Visual C++
2005, default type "int" is no longer implied and must be
declared.
"error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int"
See "Breaking changes in Visual C++ 2005 ..."
To compile 0.9.10a with Visual C++ 2005, edit
CControlSocket.cpp line 2766, and add "int" to the
beginning of the line.
<font color=red>int</font>
CControlSocket::CreateTransferSocket(...
The interface does not compile due to missing MFC
header files that I have not been able to locate.
So far afxdhtml.h is causing a fatal error: This is
probably due to the beta version.
You’ll probably want to keep this new coding standard in
mind while you're writing updates etc, to avoid this error
at a later date.
Glen
PS. Nice Work.
Thanks for reporting this problem, fixed in CVS.