John Marriott wrote:

> On 08-Apr.-2018 21:08, Bram Moolenaar wrote:
> > Patch 8.0.1677
> > Problem:    No compiler warning for wrong format in vim_snprintf().
> > Solution:   Add printf attribute for gcc.  Fix reported problems.
> > Files:      src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c,
> >              src/ops.c, src/spellfile.c, src/undo.c, src/json.c
> >
> >
> After this patch (and 8.0.1679 as well) mingw (32 and 64 bit) throws 
> these warnings:

Hmm, looks like the attribute isn't implemented correctly for MinGW.
I'll change the #ifdef to exclude it there.


-- 
hundred-and-one symptoms of being an internet addict:
139. You down your lunch in five minutes, at your desk, so you can
     spend the rest of the hour surfing the Net.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui