On Wed, Apr 29, 2020 at 9:04 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 8.2.0660
> Problem: The search.c file is a bit big.
> Solution: Split off the text object code to a separate file. (Yegappan
> Lakshmanan, closes #6007)
> Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
> src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
> src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
> src/search.c, src/textobject.c
After applying this patch, I get two compilation warnings for every
module in every build, as follows:
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -Wall -Wextra -Wshadow
-Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type
-Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-DEXITFREE -DABORT_ON_INTERNAL_ERROR version.c -o objects/version.o
In file included from /usr/include/bits/libc-header-start.h:33:0,
from /usr/include/limits.h:26,
from
/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed/limits.h:194,
from
/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed/syslimits.h:7,
from
/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed/limits.h:34,
from vim.h:50,
from version.c:10:
/usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE
requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^~~~~~~
cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
This is with gcc 7.5.0 on openSUSE Linux 15.1
--
--
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/CAJkCKXtWT%2B4q0jmOtbm7sr3NK6Ugajdgk_LiveT8sa1DQ%2B4s6A%40mail.gmail.com.