Patch 8.1.0419
Problem:    Cygwin: running cproto fails with -O2.
Solution:   Strip -O2 for cproto. (Ken Takata, closes #3465)
Files:      src/Makefile


*** ../vim-8.1.0418/src/Makefile        2018-09-15 15:08:48.348852704 +0200
--- src/Makefile        2018-09-21 13:55:37.399172113 +0200
***************
*** 2028,2035 ****
  # them as a list of individual flags.
  # The -E"gcc -E" argument must be separate to avoid problems with shell
  # quoting.
  CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
!        `echo '$(LINT_CFLAGS)' | sed -e 's/ -[a-z-]\+//g'`
  
  ### Would be nice if this would work for "normal" make.
  ### Currently it only works for (Free)BSD make.
--- 2028,2036 ----
  # them as a list of individual flags.
  # The -E"gcc -E" argument must be separate to avoid problems with shell
  # quoting.
+ # Strip -O2, it may cause cproto to write stderr to the file "2".
  CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
!        `echo '$(LINT_CFLAGS)' | sed -e 's/ -[a-z-]\+//g' -e 's/ -O[^ ]\+//g'`
  
  ### Would be nice if this would work for "normal" make.
  ### Currently it only works for (Free)BSD make.
*** ../vim-8.1.0418/src/version.c       2018-09-21 13:44:04.307661575 +0200
--- src/version.c       2018-09-21 13:53:52.263969338 +0200
***************
*** 796,797 ****
--- 796,799 ----
  {   /* Add new patch number below this line */
+ /**/
+     419,
  /**/

-- 
>From "know your smileys":
 2B|^2B   Message from Shakespeare

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui