From: Bram Moolenaar Date: Thu, 22 Mar 2018 19:26:50 +0000 (+0100) Subject: patch 8.0.1627: compiler warning for visibility attribute not supported X-Git-Tag: v8.0.1627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7735dafb584c77cf1191eceaa0b4db46266c9cb8;p=vim 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 index 3e7f1e5cb..a06d57775 100644 --- 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 index e4878d6af..0cc492066 100644 --- a/src/version.c +++ b/src/version.c @@ -766,6 +766,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1627, /**/ 1626, /**/