From: klaas.holwerda <kho...@xs...> - 2006-02-25 15:11:09
|
Hi, I get this now. I think the defines are not double, and therefore generate errors? If i e.g replace the firs __WIN32__ with 1.0 that one is oke. Is it only VC6 with those errors? Klaas --------------------Configuration: mod_wxbind - Win32 Debug Multilib-------------------- Compiling... wx_define.cpp d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(107) : error C2059: syntax error : ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(107) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(130) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(130) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(130) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(131) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(131) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(131) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(132) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(132) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(132) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(133) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(133) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(133) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(134) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(134) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(134) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(135) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(135) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(135) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(146) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(146) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(146) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(147) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(147) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(147) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(148) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(148) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(148) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(149) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(149) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(149) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(154) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(154) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(154) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(155) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(155) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(155) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(156) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(156) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(156) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(157) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(157) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(157) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(158) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(158) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(158) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(159) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(159) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(159) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(160) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(160) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(160) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(161) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(161) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(161) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(171) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(171) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(171) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(172) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(172) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(172) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(173) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(173) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(173) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(174) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(174) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(174) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(179) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(179) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(179) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(180) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(180) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(180) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(181) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(181) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(181) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(182) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(182) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(182) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(183) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(183) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(183) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(184) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(184) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(184) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(185) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(185) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(185) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(186) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(186) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(186) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(191) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(191) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(191) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(192) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(192) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(192) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(193) : error C2143: syntax error : missing ';' before '{' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(193) : error C2447: missing function header (old-style formal list?) d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(193) : error C2143: syntax error : missing ';' before ',' d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(193) : fatal error C1003: error count exceeds 100; stopping compilation Error executing cl.exe. wxluacan.exe - 102 error(s), 0 warning(s) |
From: John L. <jla...@gm...> - 2006-02-25 16:22:57
|
On 2/25/06, klaas.holwerda <kho...@xs...> wrote: > I get this now. > > I think the defines are not double, and therefore generate errors? > > If i e.g replace the firs __WIN32__ with 1.0 that one is oke. > Is it only VC6 with those errors? > > > --------------------Configuration: mod_wxbind - Win32 Debug > Multilib-------------------- > Compiling... > wx_define.cpp > d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(107) : error > C2059: syntax error : ',' Opps, sorry. I added all the defines __WIN32__, __WXGTK__, and what not. Unfortunately some of them are #define __WXGTK__ 1 but I think your problem is that others are only #define __WIN32__ // no value I'll see what I can do to fix it ASAP. In the meantime you can rem out those lines in wx_define.cpp, but don't commit it since I'll try to fix it properly. Regards, John Labenski |
From: John L. <jla...@gm...> - 2006-02-25 16:54:32
|
On 2/25/06, John Labenski <jla...@gm...> wrote: > On 2/25/06, klaas.holwerda <kho...@xs...> wrote: > > I get this now. > > > > I think the defines are not double, and therefore generate errors? > > > > If i e.g replace the firs __WIN32__ with 1.0 that one is oke. > > Is it only VC6 with those errors? > > > > > > --------------------Configuration: mod_wxbind - Win32 Debug > > Multilib-------------------- > > Compiling... > > wx_define.cpp > > d:\soft\lua\wxluacvs\wxLua\modules\wxbind\src\wx_define.cpp(107) : erro= r > > C2059: syntax error : ',' > > Opps, sorry. I added all the defines __WIN32__, __WXGTK__, and what > not. Unfortunately some of them are > #define __WXGTK__ 1 > but I think your problem is that others are only > #define __WIN32__ // no value > > I'll see what I can do to fix it ASAP. In the meantime you can rem out > those lines in wx_define.cpp, but don't commit it since I'll try to > fix it properly. Fixed, hopefully. You can now have %define __WIN32__ 1 so that you can assign arbitrary values to %defines. -John Labenski |