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

Reply via email to