lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message -----
From: steve donovan
Date: 6/18/2013 6:48 AM
On Tue, Jun 18, 2013 at 2:39 PM, Rob Kendrick <rjek@rjek.com> wrote:
This has not been true since 1999. :)
 
So true, but MS are quite clear on the subject: they're only interested in C++.

On that subject, what common pitfalls await a brave soul who compiles Lua extensions written in 'modern' C with MSVC as C++?  (Yes, I do know they're different languages; I just want to know how far one can push this...)

Type safety.

This will fail:

    char *buffer = malloc(100);

-Josh