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));
if_perl.xs is filtered through xsubpp to produce if_perl.c. This should result in something that can be compiled. If it doesn't then there probably is a problem in the xsubpp that is being used. That __attribute__ thing looks very much like a gcc thing. Perhaps xsubpp has an argument to produce MSVC compatible sources? -- Get a life? What is the URL where it can be downloaded? /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://www.ICCF.nl ///
