On Wed, May 1, 2019 at 6:09 PM Bram Moolenaar <[email protected]> wrote: > > > Patch 8.1.1241 > Problem: Ex command info contains confusing information. > Solution: When using the NOTADR flag use ADDR_OTHER for the address type. > Cleanup code using NOTADR. Check for errors in > create_cmdidxs.vim. Adjust Makefile to see the errors. > Files: src/ex_cmds.h, src/ex_docmd.c, src/Makefile, > src/create_cmdidxs.vim, src/usercmd.c, src/ex_cmds.c, > src/window.c, src/testdir/test_usercommands.vim
Several warnings in ex_docmd.c in Tiny and Small builds (built without the quickfix feature), as follows: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c ex_docmd.c: In function ‘do_one_cmd’: ex_docmd.c:2196:2: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (ea.addr_type) ^~~~~~ ex_docmd.c: In function ‘parse_cmd_address’: ex_docmd.c:2884:2: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (eap->addr_type) ^~~~~~ ex_docmd.c:2928:3: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (eap->addr_type) ^~~~~~ ex_docmd.c: In function ‘get_address’: ex_docmd.c:4249:3: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (addr_type) ^~~~~~ ex_docmd.c:4284:3: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (addr_type) ^~~~~~ ex_docmd.c:4480:3: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (addr_type) ^~~~~~ ex_docmd.c: In function ‘invalid_range’: ex_docmd.c:4612:2: warning: enumeration value ‘ADDR_QUICKFIX’ not handled in switch [-Wswitch] switch (eap->addr_type) ^~~~~~ 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]. For more options, visit https://groups.google.com/d/optout.
