Patch 8.0.1627
Problem:    Compiler warning for visibility attribute not supported on MinGW
            builds.
Solution:   Don't add the attribute when we don't expect it to work.
            (Christian Brabandt)
Files:      src/libvterm/src/vterm_internal.h


*** ../vim-8.0.1626/src/libvterm/src/vterm_internal.h   2018-03-11 
19:30:40.128142740 +0100
--- src/libvterm/src/vterm_internal.h   2018-03-22 20:23:07.095426241 +0100
***************
*** 5,11 ****
  
  #include <stdarg.h>
  
! #if defined(__GNUC__)
  # define INTERNAL __attribute__((visibility("internal")))
  # define UNUSED __attribute__((unused))
  #else
--- 5,11 ----
  
  #include <stdarg.h>
  
! #if defined(__GNUC__) && !defined(__MINGW32__)
  # define INTERNAL __attribute__((visibility("internal")))
  # define UNUSED __attribute__((unused))
  #else
*** ../vim-8.0.1626/src/version.c       2018-03-21 22:27:54.462834961 +0100
--- src/version.c       2018-03-22 20:26:40.046299426 +0100
***************
*** 768,769 ****
--- 768,771 ----
  {   /* Add new patch number below this line */
+ /**/
+     1627,
  /**/

-- 
Bumper sticker: Honk if you love peace and quiet.

 /// 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