From: k. h. <kla...@nl...> - 2006-02-03 09:47:39
|
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 |