Christian wrote:
> On Mi, 21 Mär 2018, Bram Moolenaar wrote:
>
> > Christian wrote:
> > > Also there are a couple of libvterm related warnings like this:
> > > libvterm/src/pen.c: In function 'vterm_state_newpen':
> > > libvterm/src/pen.c:164:1: warning: visibility attribute not supported in
> > > this configuration; ignored [-Wattributes]
> > > }
> > >
> > > But I haven't yet looked at those.
> >
> > Yeah, I've seen those too. Not sure how to avoid those without
> > diverting from the original libvterm too much.
>
> I think this patch does it:
> 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 <stdarg.h>
>
> -#if defined(__GNUC__)
> +#if defined(__GNUC__) && !defined(__MINGW32__)
> # define INTERNAL __attribute__((visibility("internal")))
> # define UNUSED __attribute__((unused))
> #else
>
> See
> https://ci.appveyor.com/project/chrisbra/vim-ch0ci/build/job/av4drki03bq8fuft
Simple enough, thanks. I could not find a remark that it depends on a
certain version of gcc.
--
Portable Computer: A device invented to force businessmen
to work at home, on vacation, and on business trips.
/// 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.