On Tue, Jul 20, 2021 at 9:08 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 8.2.3190
> Problem:    Error messages are spread out.
> Solution:   Move error messages to errors.h and give them a clear name.
> Files:      src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
>             src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
>             src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
>             src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
>             src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
>             src/session.c, src/spell.c, src/syntax.c, src/time.c,
>             src/userfunc.c, src/vim9execute.c, src/window.c

Build failure in Tiny ans Small:

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF     -O2
-fno-strength-reduce -Wall -Wno-deprecated-declarations
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o
buffer.c
In file included from buffer.c:28:0:
buffer.c: In function ‘no_write_message’:
buffer.c:1945:9: error:
‘e_no_write_since_last_change_add_bang_to_override’ undeclared (first
use in this function)
  emsg(_(e_no_write_since_last_change_add_bang_to_override));
         ^
vim.h:548:25: note: in definition of macro ‘_’
 # define _(x) ((char *)(x))
                         ^
buffer.c:1945:9: note: each undeclared identifier is reported only
once for each function it appears in
  emsg(_(e_no_write_since_last_change_add_bang_to_override));
         ^
vim.h:548:25: note: in definition of macro ‘_’
 # define _(x) ((char *)(x))
                         ^
buffer.c: In function ‘no_write_message_nobang’:
buffer.c:1956:9: error: ‘e_no_write_since_last_change’ undeclared
(first use in this function); did you mean ‘no_write_message_nobang’?
  emsg(_(e_no_write_since_last_change));
         ^
vim.h:548:25: note: in definition of macro ‘_’
 # define _(x) ((char *)(x))
                         ^
make: *** [Makefile:3169: objects/buffer.o] Error 1
exit status 2


Best regards,
Tony.

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtE6MG6sg16xe1ODBYYG4uzzhJVo%2B11q-VGSnSM0a-%2BFQ%40mail.gmail.com.

Raspunde prin e-mail lui