# HG changeset patch # User Christian Brabandt # Date 1521747008 -3600 # Node ID 8bdcc8faeb3234a81888e1ed4ef4a266acf6e63c # Parent cb955e703d3aa6a60d901705dc05bdce973de11a patch 8.0.1627: compiler warning for visibility attribute not supported commit https://github.com/vim/vim/commit/7735dafb584c77cf1191eceaa0b4db46266c9cb8 Author: Bram Moolenaar Date: Thu Mar 22 20:26:50 2018 +0100 patch 8.0.1627: compiler warning for visibility attribute not supported 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) diff --git a/src/libvterm/src/vterm_internal.h b/src/libvterm/src/vterm_internal.h --- a/src/libvterm/src/vterm_internal.h +++ b/src/libvterm/src/vterm_internal.h @@ -5,7 +5,7 @@ #include -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__MINGW32__) # define INTERNAL __attribute__((visibility("internal"))) # define UNUSED __attribute__((unused)) #else diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1627, +/**/ 1626, /**/ 1625,