From: John L. <jla...@gm...> - 2006-08-04 15:21:27
|
On 8/4/06, klaas.holwerda <kla...@nl...> 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 |