Responding to whether the following error messages from
compiling Vim using Visual Studio 8
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 : ';'
meant that Visual Studio 8 does not like line 158 of if_perl.xs,
which is:
static void (*Perl_croak)(pTHX_ const char*, ...)
__attribute__((noreturn));
Jürgen Krämer wrote:
> 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.
From ActiveState's perl-win32-users mailing list, there are known
bugs with 816 build and, based on a post yesterday, perhaps also
with the latest 818 build.
--Suresh