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

Jonathan Wakely
Wed Aug 7 15:22:00 GMT 2013

On 7 August 2013 16:09, Andy Falanga (afalanga) wrote:
> Not sure if this one was answered

It was.

> Your problem referenced there may be nothing more than a generous allowance from Microsoft that isn't standard and, thus, not portable.  The error message provided sounds similar: i.e. whatever is on line #5 of that file is probably code that isn't standard conforming but Microsoft helps you in doing what you're after  (I'm not sure if that's the file you provided, and one of those you provided was poorly formatted, probably Outlook's fault not yours).

No, the problem was basically:

#ifdef _MSC_VER
// valid code

More information about the Gcc-help mailing list