Hi John, It seems to be only on Linux.
The two lines you mention are set to the next in my case: output_cpp_impexpsymbol = "" output_cpp_impexpdatasymbol = "" But only on linux i get the (int) while on windows it is only int. I find it hard to believe myself, but checking it again it looks like there is a difference here?? Do you have a switch somewhere in the binding generator? Thanks, Klaas John Labenski wrote: > On 8/4/06, klaas.holwerda <[EMAIL PROTECTED]> wrote: > >> From my bindings.i file i get generated things like: >> >> extern (int) a2dDrawer2D_methodCount; >> and >> extern (int) s_wxluatag_a2dLauWrapper; >> >> On fedora gcc 4.0.0-8 this does not compile, if i remove the () and make >> plain int all is oke. >> >> Why is it (int), maybe it is better to generate it as only int? >> > > You need to add these lines to your rules file probably. Just use the > dummy macros i you don't want to export them. > > -- Set the DLLIMPEXP macros for compiling these bindings into a DLL > -- Use "WXLUA_NO_DLLIMPEXP" and "WXLUA_NO_DLLIMPEXP_DATA" for no IMPEXP > macros > > output_cpp_impexpsymbol = "WXDLLIMPEXP_WXBIND" > output_cpp_impexpdatasymbol = "WXDLLIMPEXP_DATA_WXBIND" > > > -John Labenski > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wxlua-users mailing list > Wxlua-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxlua-users > -- Unclassified ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users