Hi,

Suresh Govindachar wrote:
>
> >Bram Moolenaar wrote
> >
> > David Fishburn wrote:
> >
> > [...]
> >
> > > -DDYNAMIC_PYTHON_DLL=\"python24.dll\" -DFEAT_PERL -DDYNAMIC_PERL
> > > -DDYNAMI C_PERL_DLL=\"perl58.dll\" -DFEAT_BIG /Zi /Fd.\ObjGOLY/ /I
> > > C:\Programs\perl\Lib\Core if_perl.c if_perl.c
> > > if_perl.xs(158) : error C2061: syntax error : identifier '__attribute__'
> > > if_perl.xs(158) : error C2059: syntax error : ';'
> >
> > Your problem appears to be with Perl, not with Vim.  You may
> > have a Perl for Unix and building Vim with MSVC doesn't work
> > then.
>
> Doesn't the error message mean that Visual Studio 8 does not like
> line 158 of if_perl.xs?, which is:
>
>   static void (*Perl_croak)(pTHX_ const char*, ...) __attribute__((noreturn));

these are error messages from ActiveState's $(PERL)\lib\ExtUtils\xsubpp
script. I got these messages, too, after I upgraded to Perl 5.8.8.816
and because I was not able to find a diffence (at the above location)
between if_perl.xs in the VIM 6.4 and the VIM 7.0 sources I think
something in this script changed.

Removing the "__attribute__((noreturn))" will make the build process
work again, but I don't know if this has any side effects.

Regards,
Jürgen

-- 
Jürgen Krämer                              Softwareentwicklung
HABEL GmbH & Co. KG                        mailto:[EMAIL PROTECTED]
Hinteres Öschle 2                          Tel: +49 / 74 61 / 93 53 - 15
78604 Rietheim-Weilheim                    Fax: +49 / 74 61 / 93 53 - 99

Reply via email to