Strawberry Perl 5.24 doesn't work.

2016-05-24 Thread tux.
Well ...

> if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> "__imp__Perl_savetmps".
> gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.

:-(

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-24 Thread Ken Takata
Hi tux.,

2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> Well ...
> 
> > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > "__imp__Perl_savetmps".
> > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> 
> :-(

How about trying Damien's patch for Perl 5.22.2?
https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-25 Thread Ken Takata
Hi,

2016/5/25 Wed 13:25:44 UTC+9 Ken Takata wrote:
> Hi tux.,
> 
> 2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> > Well ...
> > 
> > > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > > "__imp__Perl_savetmps".
> > > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> > 
> > :-(
> 
> How about trying Damien's patch for Perl 5.22.2?
> https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ

OK, it seems that another patch is needed.
Please apply the attached patch after Damien's patch.
Both patches are needed.

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# HG changeset patch
# Parent  92c8a94dcae85ab884362a5da2d4103522bcaa62

diff --git a/src/if_perl.xs b/src/if_perl.xs
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -299,6 +299,9 @@ typedef int perl_key;
 #  define PerlIOBase_pushed dll_PerlIOBase_pushed
 #  define PerlIO_define_layer dll_PerlIO_define_layer
 # endif
+# if (PERL_REVISION == 5) && (PERL_VERSION >= 24)
+#  define Perl_savetmps dll_Perl_savetmps
+# endif
 
 /*
  * Declare HANDLE for perl.dll and function pointers.
@@ -455,6 +458,9 @@ static NV (*Perl_sv_2nv_flags)(pTHX_ SV 
 static IV (*PerlIOBase_pushed)(pTHX_ PerlIO *, const char *, SV *, PerlIO_funcs *);
 static void (*PerlIO_define_layer)(pTHX_ PerlIO_funcs *);
 #endif
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 24)
+static void (*Perl_savetmps)(pTHX);
+#endif
 
 /*
  * Table of name to function pointer of perl.
@@ -598,6 +604,9 @@ static struct {
 {"PerlIOBase_pushed", (PERL_PROC*)&PerlIOBase_pushed},
 {"PerlIO_define_layer", (PERL_PROC*)&PerlIO_define_layer},
 #endif
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 24)
+{"Perl_savetmps", (PERL_PROC*)&Perl_savetmps},
+#endif
 {"", NULL},
 };
 


Re: Strawberry Perl 5.24 doesn't work.

2016-05-25 Thread tux.
I already had the other patch. Whoops...
Yours compiles, thank you!

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-25 Thread Bram Moolenaar

Ken Takata wrote:

> 2016/5/25 Wed 13:25:44 UTC+9 Ken Takata wrote:
> > Hi tux.,
> > 
> > 2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> > > Well ...
> > > 
> > > > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > > > "__imp__Perl_savetmps".
> > > > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> > > 
> > > :-(
> > 
> > How about trying Damien's patch for Perl 5.22.2?
> > https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ
> 
> OK, it seems that another patch is needed.
> Please apply the attached patch after Damien's patch.
> Both patches are needed.

Is this now tested enough to include?  I suppose I should include both
then.  The comments on Damien's patch weren't conclusive.


-- 
The Feynman problem solving Algorithm:
1) Write down the problem
2) Think real hard
3) Write down the answer

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-26 Thread Ken Takata
Hi Bram,

2016/5/26 Thu 5:49:48 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
> 
> > 2016/5/25 Wed 13:25:44 UTC+9 Ken Takata wrote:
> > > Hi tux.,
> > > 
> > > 2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> > > > Well ...
> > > > 
> > > > > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > > > > "__imp__Perl_savetmps".
> > > > > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> > > > 
> > > > :-(
> > > 
> > > How about trying Damien's patch for Perl 5.22.2?
> > > https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ
> > 
> > OK, it seems that another patch is needed.
> > Please apply the attached patch after Damien's patch.
> > Both patches are needed.
> 
> Is this now tested enough to include?  I suppose I should include both
> then.  The comments on Damien's patch weren't conclusive.

I think these patches are ready to be included.
There was a report that Perl 5.12 or earlier fails, but it seems unrelated to
Damien's patch.

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-26 Thread Bram Moolenaar

Ken Takata wrote:

> Hi Bram,
> 
> 2016/5/26 Thu 5:49:48 UTC+9 Bram Moolenaar wrote:
> > Ken Takata wrote:
> > 
> > > 2016/5/25 Wed 13:25:44 UTC+9 Ken Takata wrote:
> > > > Hi tux.,
> > > > 
> > > > 2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> > > > > Well ...
> > > > > 
> > > > > > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > > > > > "__imp__Perl_savetmps".
> > > > > > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> > > > > 
> > > > > :-(
> > > > 
> > > > How about trying Damien's patch for Perl 5.22.2?
> > > > https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ
> > > 
> > > OK, it seems that another patch is needed.
> > > Please apply the attached patch after Damien's patch.
> > > Both patches are needed.
> > 
> > Is this now tested enough to include?  I suppose I should include both
> > then.  The comments on Damien's patch weren't conclusive.
> 
> I think these patches are ready to be included.
> There was a report that Perl 5.12 or earlier fails, but it seems unrelated to
> Damien's patch.

So first include Damien's patch and then yours, right?

-- 
hundred-and-one symptoms of being an internet addict:
15. Your heart races faster and beats irregularly each time you see a new WWW
site address in print or on TV, even though you've never had heart
problems before.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strawberry Perl 5.24 doesn't work.

2016-05-26 Thread Bram Moolenaar

Ken Takata wrote:

> 2016/5/26 Thu 5:49:48 UTC+9 Bram Moolenaar wrote:
> > Ken Takata wrote:
> > 
> > > 2016/5/25 Wed 13:25:44 UTC+9 Ken Takata wrote:
> > > > Hi tux.,
> > > > 
> > > > 2016/5/25 Wed 7:27:04 UTC+9 tux. wrote:
> > > > > Well ...
> > > > > 
> > > > > > if_perl.obj : error LNK2001: Nicht aufgelöstes externes Symbol 
> > > > > > "__imp__Perl_savetmps".
> > > > > > gvim.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
> > > > > 
> > > > > :-(
> > > > 
> > > > How about trying Damien's patch for Perl 5.22.2?
> > > > https://groups.google.com/d/msg/vim_dev/xLXIFC8p3EY/VaEapvJ-BAAJ
> > > 
> > > OK, it seems that another patch is needed.
> > > Please apply the attached patch after Damien's patch.
> > > Both patches are needed.
> > 
> > Is this now tested enough to include?  I suppose I should include both
> > then.  The comments on Damien's patch weren't conclusive.
> 
> I think these patches are ready to be included.
> There was a report that Perl 5.12 or earlier fails, but it seems unrelated to
> Damien's patch.

After including the patches I get these errors:

5 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:64 col 27: warning: ‘S__is_u
tf8_char_slow’ declared ‘static’ but never defined [-Wunused-function]
 8 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:161 col 25: warning: ‘S_appe
nd_utf8_from_native_byte’ declared ‘static’ but never defined [-Wunused-function
]
11 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:285 col 28: warning: ‘S_av_t
op_index’ declared ‘static’ but never defined [-Wunused-function]
14 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:745 col 25: warning: ‘S_croa
k_memory_wrap’ declared ‘static’ but never defined [-Wunused-function]
17 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:1883 col 25: warning: ‘S_is_
safe_syscall’ declared ‘static’ but never defined [-Wunused-function]
20 /usr/lib/x86_64-linux-gnu/perl/5.22/CORE/proto.h:4460 col 25: warning: ‘S_sv_
only_taint_gmagic’ declared ‘static’ but never defined [-Wunused-function]

Since this is in a Perl include file I assume this can't be fixed.

-- 
hundred-and-one symptoms of being an internet addict:
17. You turn on your intercom when leaving the room so you can hear if new
e-mail arrives.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.