c++ - E2040 Declaration terminated incorrectly -


i building winscp source.

when compiling source, following error occurs:

[bcc32 error] jcl.cpp(9): e2040 declaration terminated incorrectly 

the ide indicating @ following source.

// --------------------------------------------------------------------------- # include<system.hpp> # pragma hdrstop # pragma package(smart_init) // --------------------------------------------------------------------------- // package source. // --------------------------------------------------------------------------- #pragma argsused extern " c " int _libmain(unsigned long reason) {   return 1; } // --------------------------------------------------------------------------- 

could please tell me wrong , how correct.

the actual winscp code is:

#pragma argsused extern "c" int _libmain(unsigned long reason) {   return 1; } 

see jcl.cpp in winscp cvs repository.

you must have corrupted code yourself.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -