On 02/11/2015 11:36 a.m., Bram Moolenaar wrote:
>
> Cesar Romani wrote:
>
>> On 02/11/2015 09:30 a.m., Bram Moolenaar wrote:
>> >
>> > Patch 7.4.907
>> > Problem: Libraries for dynamically loading interfaces can
only be
>> > defined
>> > at compile time.
>> > Solution: Add options to specify the dll names. (Kazuki Sakamoto,
>> > closes #452)
>> > Files: runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
>> > runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt,
>> > runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs,
>> > src/if_python.c, src/if_python3.c, src/if_ruby.c,
>> > src/option.c,
>> > src/option.h
>>
>> I get following error:
>>
>> --------------------
>> [...]
>> if_perl.xs: In function 'perl_enabled':
>> if_perl.xs:614:12: error: #if with no expression
>> #if WIN3264
>> ^
>> if_perl.xs:617:18: error: 'p_perldll' undeclared (first use in this
>> function)
>> char *dll = *p_perldll ? (char *)p_perldll : DYNAMIC_PERL_DLL;
>> ^
>> if_perl.xs:617:18: note: each undeclared identifier is reported only
>> once for each function it appears in
>> make: *** [gobjZi686/if_perl.o] Error 1
>> Error by compiling gvim.exe
>> --------------------
>>
>> I'm building vim under Windows 7 with MinGW and perl 5.18.
>
> Strange that this compiler complains while mine doesn't.
> Let's change that #if into an #ifdef, that should work.
>
Thanks, now it works!
Regards,
--
Cesar
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.