Hi

I get this error. I think it is actually a C++ problem, it looks like an empty initialization is not allowed.
Maybe use:

static WXLUAMETHOD builtinList[1];

or some dummy??

c:\data\art2d\wxluacvs\wxLua\modules\wxbindstc\src\wxstc_builtin.cpp(33) : error C2059: syntax error : '}' c:\data\art2d\wxluacvs\wxLua\modules\wxbindstc\src\wxstc_builtin.cpp(34) : error C2501: 'count' : missing storage-class or type specifiers c:\data\art2d\wxluacvs\wxLua\modules\wxbindstc\src\wxstc_builtin.cpp(34) : error C2065: 'builtinList' : undeclared identifier


WXLUAMETHOD* wxLuaGetBuiltinList_wxstc(size_t &count)
{
   static WXLUAMETHOD builtinList[] =
   {
   };
   count = (sizeof(builtinList)/sizeof(builtinList[0]));
   return builtinList;
}

Klaas


--
Unclassified



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to