[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: profiling embedded lua
- From: Thomas Buergel <Thomas.Buergel@...>
- Date: Wed, 5 Oct 2011 15:18:06 +0000
> Error 1 error C2143: syntax error : missing ';' before 'type' ln 60 col1 in c_hook.c
Visual Studio compilers don't support C99 (which allows declaring variables at an arbitrary place inside a block, not just at the beginning).
Try compiling it as C++ (rename the file to .cpp or set the options appropriately (Project settings, Configuration Properties, C/C++, Advanced; Compile As C++ Code)).
- References:
- profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Patrick Rapin
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Geoff Leyland
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Geoff Leyland
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund