'void *' : unknown size

  • abczyx123987
    30th Jul 2011 Member 0 Permalink
    Hi,

    I'm trying to compile TPT (v52.0) with the lua console (by adding LUACONSOLE to the preprocessor definitions) using Visual Studio, but it's giving me a few errors in luaconsole.c:

    1>src\luaconsole.c(445): error C2036: 'void *' : unknown size
    1>src\luaconsole.c(447): error C2036: 'void *' : unknown size
    1>src\luaconsole.c(469): error C2036: 'void *' : unknown size
    1>src\luaconsole.c(471): error C2036: 'void *' : unknown size

    This doesn't happen when I compile with MinGW.

    Any way around these errors?
  • pilojo
    30th Jul 2011 Member 0 Permalink
    @abczyx123987 (View Post)
    Visual studio likes being a bitch about compiling. I say stick to Code::Blocks or MinGW