Compiling error while compiling VC++ code on Ubuntu using GCC

Jonathan Wakely jwakely.gcc@gmail.com
Wed Aug 7 08:33:00 GMT 2013


On 7 August 2013 09:19, Raman wrote:
> #ifdef CRUNTIMEDLL_EXPORTS
> #ifdef _WIN32
> #define CRUNTIMEDLL_API extern "C" __declspec(dllexport)
> #else
> #defineCRUNTIMEDLL_API extern "C"

Did you read the error message? It tells you there's an error on the
line above, which should be obvious: it's missing a space.



More information about the Gcc-help mailing list