Re: compilation issues for winscp520
1). missing hpp files inside folder:"packages", like: "packages\tb2k\TB2Dock.hpp". I fixed this issue by copying those header files from another old version.
The .hpp files are automatically generated by pascal compiler, if you compile the projects in packages folder. Or just use the build.bat.
2). Missing function "DoAlwaysFalse()". Comilation breaks at line "2288" of file"\source\core\Queue.cpp": bool DoCheckCancel = ALWAYS_FALSE(UserAction == NULL) || !UserAction->Force();
I try to bypass this issue by replace original macro definition:
#define ALWAYS_FALSE(p) DoAlwaysFalse(p, TEXT(#p), TEXT(__FILE__), __LINE__)
with the new one:
#define ALWAYS_FALSE(p) (!(p))
Will fix. Note that your implementation of ALWAYS_FALSE is wrong. It should be
#define ALWAYS_FALSE(p) p