Re: ABI_OPT_PERL semi-broken on Win32


Subject: Re: ABI_OPT_PERL semi-broken on Win32
From: Joaquin Cuenca Abela (cuenca@pacaterie.u-psud.fr)
Date: Thu Sep 13 2001 - 13:06:29 CDT


Nikolaj wrote:
>
> It only happens when ABI_OPT_PERL is defined, didn't check that last
> night. The errors are like these:
>
> ie_exp_AWT.cpp(35) : error C2448: '<Unknown>' : function-style
> initializer appears to be a function definition
> ie_exp_AWT.cpp(35) : fatal error C1004: unexpected end of file found
> make[4]: *** [/abi/abi/src/WIN32_1.3.2_i386_OBJ/obj/ie_exp_AWT.obj]
> Error 2
>
> ie_exp_WML.cpp(109) : warning C4518: '__declspec(dllexport ) int ' :
> storage-cla
> ss or type specifier(s) unexpected here; ignored
> ie_exp_WML.cpp(109) : warning C4230: anachronism used :
> modifiers/qualifiers int
> erspersed, qualifier ignored
> ie_exp_WML.cpp(132) : warning C4518: '__declspec(dllexport ) int ' :
> storage-cla
> ss or type specifier(s) unexpected here; ignored
> ie_exp_WML.cpp(132) : warning C4230: anachronism used :
> modifiers/qualifiers int
> erspersed, qualifier ignored
> ie_exp_WML.cpp(152) : warning C4518: '__declspec(dllexport ) int ' :
> storage-cla
> ss or type specifier(s) unexpected here; ignored
> ie_exp_WML.cpp(152) : warning C4230: anachronism used :
> modifiers/qualifiers int
> erspersed, qualifier ignored
>
> ie_exp_Psion.cpp(786) : error C2143: syntax error : missing ';' before
> ':'
> make[4]: *** [/abi/abi/src/WIN32_1.3.2_i386_OBJ/obj/ie_exp_Psion.obj]
> Error 2

I should say that I'm completely puzzled here. I don't have a cvs version
of abi (my current code is 0.9.3 + my patches), and I'm not able to
reproduce that.

Also, there is no connexion that I know of between ie_exp_* & the perl
bindings, nor perl.h, EXTERN.H, etc should be included in ie_exp_*, so I
don't see how that can perturb these compilations.

Dom seems to suggest that these errors shows up when you compile with
plugins enabled.

Are you also using ABI_OPT_PLUGINS=1?
you can test if this #define is activated putting a:

#ifdef ABI_OPT_PLUGINS
#error "Abi opt plugins enabled!"
#endif

at the top of one of these files.

If you hit the compiler error: "Abi opt plugins enabled!" and you've not
compiled with ABI_OPT_PLUGINS then something is messed in the makefiles.

Cheers,

--
Joaquin Cuenca Abela
e98cuenc@yahoo.com



This archive was generated by hypermail 2b25 : Thu Sep 13 2001 - 13:06:02 CDT