Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd .deps && \
- cmake -G 'Ninja' \
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2//third-party
- -- Found GNU Make at /usr/bin/gmake
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/.deps
- mkdir -p build
- touch build/.ran-third-party-cmake
- ninja -C .deps
- ninja: Entering directory `.deps'
- [1/3] Running utility command for luajit
- [2/3] cd /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/.deps && /usr/bin/cmake -DREMOVE_FILE_GLOB=/home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/.deps/usr/lib/lib*.so* -P /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/third-party/cmake/RemoveFiles.cmake
- [3/3] cd /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/.deps && /usr/bin/cmake -E touch .third-party
- ninja -C build
- ninja: Entering directory `build'
- [0/2] Re-checking globbed directories...
- [1/359] Generating auto/memfile.c.generated.h, ../../include/memfile.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [2/359] Generating auto/math.c.generated.h, ../../include/math.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [3/359] Generating auto/api/private/dispatch.c.generated.h, ../../include/api/private/dispatch.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [4/359] Generating auto/api/deprecated.c.generated.h, ../../include/api/deprecated.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [5/359] Generating auto/api/buffer.c.generated.h, ../../include/api/buffer.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [6/359] Generating auto/menu.c.generated.h, ../../include/menu.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [7/359] Generating auto/message.c.generated.h, ../../include/message.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [8/359] Generating auto/api/autocmd.c.generated.h, ../../include/api/autocmd.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [9/359] Generating auto/memline.c.generated.h, ../../include/memline.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [10/359] Generating auto/memory.c.generated.h, ../../include/memory.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [11/359] Generating auto/api/private/helpers.c.generated.h, ../../include/api/private/helpers.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [12/359] Generating auto/mbyte.c.generated.h, ../../include/mbyte.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [13/359] Generating auto/api/tabpage.c.generated.h, ../../include/api/tabpage.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [14/359] Generating auto/api/private/converter.c.generated.h, ../../include/api/private/converter.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [15/359] Generating auto/api/extmark.c.generated.h, ../../include/api/extmark.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [16/359] Generating auto/arabic.c.generated.h, ../../include/arabic.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [17/359] Generating auto/api/ui.c.generated.h, ../../include/api/ui.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [18/359] Generating auto/api/vim.c.generated.h, ../../include/api/vim.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [19/359] Generating auto/charset.c.generated.h, ../../include/charset.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [20/359] Generating auto/cursor.c.generated.h, ../../include/cursor.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [21/359] Generating auto/api/win_config.c.generated.h, ../../include/api/win_config.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [22/359] Generating auto/buffer_updates.c.generated.h, ../../include/buffer_updates.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [23/359] Generating auto/api/window.c.generated.h, ../../include/api/window.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [24/359] Generating auto/api/vimscript.c.generated.h, ../../include/api/vimscript.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [25/359] Generating auto/channel.c.generated.h, ../../include/channel.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [26/359] Generating auto/context.c.generated.h, ../../include/context.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [27/359] Generating auto/decoration.c.generated.h, ../../include/decoration.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [28/359] Generating auto/change.c.generated.h, ../../include/change.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [29/359] Generating auto/cursor_shape.c.generated.h, ../../include/cursor_shape.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [30/359] Generating auto/api/private/dispatch_wrappers.generated.h, auto/api/private/funcs_metadata.generated.h, ../../api_metadata.mpack, auto/lua_api_c_bindings.generated.c
- [31/359] Generating auto/buffer.c.generated.h, ../../include/buffer.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [32/359] Generating auto/autocmd.c.generated.h, ../../include/autocmd.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [33/359] Generating auto/debugger.c.generated.h, ../../include/debugger.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [34/359] Generating auto/digraph.c.generated.h, ../../include/digraph.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [35/359] Generating auto/decoration_provider.c.generated.h, ../../include/decoration_provider.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [36/359] Generating auto/diff.c.generated.h, ../../include/diff.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [37/359] Generating auto/eval/gc.c.generated.h, ../../include/eval/gc.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [38/359] Generating auto/event/multiqueue.c.generated.h, ../../include/event/multiqueue.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [39/359] Generating auto/edit.c.generated.h, ../../include/edit.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [40/359] Generating auto/event/libuv_process.c.generated.h, ../../include/event/libuv_process.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [41/359] Generating auto/event/loop.c.generated.h, ../../include/event/loop.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [42/359] Generating auto/eval/executor.c.generated.h, ../../include/eval/executor.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [43/359] Generating auto/event/signal.c.generated.h, ../../include/event/signal.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [44/359] Generating auto/eval/decode.c.generated.h, ../../include/eval/decode.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [45/359] Generating auto/event/process.c.generated.h, ../../include/event/process.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [46/359] Generating auto/event/stream.c.generated.h, ../../include/event/stream.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [47/359] Generating auto/eval/userfunc.c.generated.h, ../../include/eval/userfunc.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [48/359] Generating auto/eval/encode.c.generated.h, ../../include/eval/encode.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [49/359] Generating auto/event/time.c.generated.h, ../../include/event/time.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [50/359] Generating auto/event/rstream.c.generated.h, ../../include/event/rstream.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [51/359] Generating auto/event/socket.c.generated.h, ../../include/event/socket.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [52/359] Generating auto/eval/typval.c.generated.h, ../../include/eval/typval.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [53/359] Generating auto/event/wstream.c.generated.h, ../../include/event/wstream.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [54/359] Generating auto/eval.c.generated.h, ../../include/eval.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [55/359] Generating auto/eval/funcs.c.generated.h, ../../include/eval/funcs.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [56/359] Generating auto/ex_cmds2.c.generated.h, ../../include/ex_cmds2.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [57/359] Generating auto/extmark.c.generated.h, ../../include/extmark.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [58/359] Generating auto/ex_eval.c.generated.h, ../../include/ex_eval.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [59/359] Generating auto/file_search.c.generated.h, ../../include/file_search.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [60/359] Generating auto/ex_session.c.generated.h, ../../include/ex_session.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [61/359] Generating auto/fold.c.generated.h, ../../include/fold.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [62/359] Generating auto/ex_getln.c.generated.h, ../../include/ex_getln.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [63/359] Generating auto/garray.c.generated.h, ../../include/garray.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [64/359] Generating auto/hashtab.c.generated.h, ../../include/hashtab.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [65/359] Generating auto/fileio.c.generated.h, ../../include/fileio.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [66/359] Generating auto/ex_cmds.c.generated.h, ../../include/ex_cmds.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [67/359] Generating auto/ex_docmd.c.generated.h, ../../include/ex_docmd.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [68/359] Generating auto/hardcopy.c.generated.h, ../../include/hardcopy.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [69/359] Generating auto/indent_c.c.generated.h, ../../include/indent_c.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [70/359] Generating auto/getchar.c.generated.h, ../../include/getchar.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [71/359] Generating auto/highlight.c.generated.h, ../../include/highlight.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [72/359] Generating auto/indent.c.generated.h, ../../include/indent.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [73/359] Generating auto/if_cscope.c.generated.h, ../../include/if_cscope.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [74/359] Generating auto/keymap.c.generated.h, ../../include/keymap.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [75/359] Generating auto/log.c.generated.h, ../../include/log.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [76/359] Generating auto/input.c.generated.h, ../../include/input.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [77/359] Generating auto/highlight_group.c.generated.h, ../../include/highlight_group.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [78/359] Generating auto/lua/converter.c.generated.h, ../../include/lua/converter.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [79/359] Generating auto/lua/stdlib.c.generated.h, ../../include/lua/stdlib.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [80/359] Generating auto/lua/executor.c.generated.h, ../../include/lua/executor.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [81/359] Generating auto/lua/spell.c.generated.h, ../../include/lua/spell.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [82/359] Generating auto/marktree.c.generated.h, ../../include/marktree.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [83/359] Generating auto/lua/xdiff.c.generated.h, ../../include/lua/xdiff.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [84/359] Generating auto/map.c.generated.h, ../../include/map.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [85/359] Generating auto/lua/treesitter.c.generated.h, ../../include/lua/treesitter.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [86/359] Generating auto/main.c.generated.h, ../../include/main.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [87/359] Generating auto/mark.c.generated.h, ../../include/mark.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [88/359] Generating auto/mouse.c.generated.h, ../../include/mouse.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [89/359] Generating auto/match.c.generated.h, ../../include/match.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [90/359] Generating auto/msgpack_rpc/channel.c.generated.h, ../../include/msgpack_rpc/channel.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [91/359] Generating auto/msgpack_rpc/server.c.generated.h, ../../include/msgpack_rpc/server.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [92/359] Generating auto/move.c.generated.h, ../../include/move.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [93/359] Generating auto/os/dl.c.generated.h, ../../include/os/dl.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [94/359] Generating auto/os/fileio.c.generated.h, ../../include/os/fileio.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [95/359] Generating auto/msgpack_rpc/helpers.c.generated.h, ../../include/msgpack_rpc/helpers.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [96/359] Generating auto/normal.c.generated.h, ../../include/normal.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [97/359] Generating auto/os/mem.c.generated.h, ../../include/os/mem.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [98/359] Generating auto/ops.c.generated.h, ../../include/ops.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [99/359] Generating auto/option.c.generated.h, ../../include/option.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [100/359] Generating auto/os/env.c.generated.h, ../../include/os/env.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [101/359] Generating auto/os/fs.c.generated.h, ../../include/os/fs.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [102/359] Generating auto/os/pty_process_unix.c.generated.h, ../../include/os/pty_process_unix.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [103/359] Generating auto/os/process.c.generated.h, ../../include/os/process.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [104/359] Generating auto/os/lang.c.generated.h, ../../include/os/lang.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [105/359] Generating auto/os/stdpaths.c.generated.h, ../../include/os/stdpaths.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [106/359] Generating auto/os/input.c.generated.h, ../../include/os/input.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [107/359] Generating auto/os/time.c.generated.h, ../../include/os/time.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [108/359] Generating auto/os/shell.c.generated.h, ../../include/os/shell.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [109/359] Generating auto/os/tty.c.generated.h, ../../include/os/tty.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [110/359] Generating auto/os/signal.c.generated.h, ../../include/os/signal.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [111/359] Generating auto/os/users.c.generated.h, ../../include/os/users.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [112/359] Generating auto/os_unix.c.generated.h, ../../include/os_unix.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [113/359] Generating auto/rbuffer.c.generated.h, ../../include/rbuffer.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [114/359] Generating auto/plines.c.generated.h, ../../include/plines.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [115/359] Generating auto/popupmnu.c.generated.h, ../../include/popupmnu.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [116/359] Generating auto/sha256.c.generated.h, ../../include/sha256.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [117/359] Generating auto/profile.c.generated.h, ../../include/profile.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [118/359] Generating auto/path.c.generated.h, ../../include/path.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [119/359] Generating auto/regexp.c.generated.h, ../../include/regexp.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [120/359] Generating auto/runtime.c.generated.h, ../../include/runtime.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [121/359] Generating auto/quickfix.c.generated.h, ../../include/quickfix.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [122/359] Generating auto/sign.c.generated.h, ../../include/sign.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [123/359] Generating auto/search.c.generated.h, ../../include/search.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [124/359] Generating auto/shada.c.generated.h, ../../include/shada.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [125/359] Generating auto/state.c.generated.h, ../../include/state.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [126/359] Generating auto/screen.c.generated.h, ../../include/screen.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [127/359] Generating auto/spell.c.generated.h, ../../include/spell.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [128/359] Generating auto/testing.c.generated.h, ../../include/testing.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [129/359] Generating auto/spellfile.c.generated.h, ../../include/spellfile.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [130/359] Generating auto/tui/terminfo.c.generated.h, ../../include/tui/terminfo.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [131/359] Generating auto/strings.c.generated.h, ../../include/strings.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [132/359] Generating auto/tag.c.generated.h, ../../include/tag.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [133/359] Generating auto/terminal.c.generated.h, ../../include/terminal.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [134/359] Generating auto/syntax.c.generated.h, ../../include/syntax.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [135/359] Generating auto/tui/tui.c.generated.h, ../../include/tui/tui.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [136/359] Generating auto/tui/input.c.generated.h, ../../include/tui/input.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [137/359] Generating auto/viml/parser/parser.c.generated.h, ../../include/viml/parser/parser.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [138/359] Generating auto/ugrid.c.generated.h, ../../include/ugrid.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [139/359] Generating ../../include/ex_cmds_enum.generated.h, auto/ex_cmds_defs.generated.h
- [140/359] Generating auto/ui_bridge.c.generated.h, ../../include/ui_bridge.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [141/359] Generating ../../include/auevents_enum.generated.h, auto/auevents_name_map.generated.h
- [142/359] Generating auto/keysets.generated.h, auto/keysets_defs.generated.h
- [143/359] Generating auto/api/private/dispatch_wrappers.c.generated.h, ../../include/api/private/dispatch_wrappers.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [144/359] Generating auto/options.generated.h
- [145/359] Generating auto/ui_events.generated.h, auto/ui_events_call.generated.h, auto/ui_events_remote.generated.h, auto/ui_events_bridge.generated.h, auto/api/private/ui_events_metadata.generated.h, auto/ui_events_client.generated.h
- [146/359] Generating auto/ui.c.generated.h, ../../include/ui.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [147/359] Generating auto/keysets.c.generated.h, ../../include/keysets.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [148/359] Generating auto/lua/vim_module.generated.h
- LUAC_PRG is missing, embedding raw source
- [149/359] Generating auto/ui_events_call.c.generated.h, ../../include/ui_events_call.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [150/359] Generating auto/ui_events_remote.c.generated.h, ../../include/ui_events_remote.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [151/359] Generating auto/ui_events_client.c.generated.h, ../../include/ui_events_client.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [152/359] Generating auto/ui_events_bridge.c.generated.h, ../../include/ui_events_bridge.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [153/359] Generating auto/regexp_bt.c.generated.h, ../../include/regexp_bt.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [154/359] Generating auto/ui_client.c.generated.h, ../../include/ui_client.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [155/359] Generating auto/version.c.generated.h, ../../include/version.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [156/359] Generating auto/viml/parser/expressions.c.generated.h, ../../include/viml/parser/expressions.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [157/359] Generating auto/undo.c.generated.h, ../../include/undo.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [158/359] Generating auto/ui_compositor.c.generated.h, ../../include/ui_compositor.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [159/359] Generating auto/funcs.generated.h, ../../funcs_data.mpack
- [160/359] Generating auto/regexp_nfa.c.generated.h, ../../include/regexp_nfa.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [161/359] Generating auto/window.c.generated.h, ../../include/window.h.generated.h
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [162/359] Generating nvim.pot
- [163/359] Generating af.mo
- [164/359] Generating cs.mo
- [165/359] Generating ca.mo
- [166/359] Generating eo.mo
- [167/359] Generating en_GB.mo
- [168/359] Generating cs.cp1250.mo
- [169/359] Generating es.mo
- [170/359] Generating it.mo
- [171/359] Generating da.mo
- [172/359] Generating fi.mo
- [173/359] Generating fr.mo
- [174/359] Generating de.mo
- [175/359] Generating ga.mo
- [176/359] Generating ja.euc-jp.mo
- [177/359] Generating ko.UTF-8.mo
- [178/359] Generating ja.mo
- [179/359] Generating nb.mo
- [180/359] Generating nl.mo
- [181/359] Generating sk.cp1250.mo
- [182/359] Generating no.mo
- [183/359] Generating pl.UTF-8.mo
- [184/359] Generating ru.mo
- [185/359] Generating sv.mo
- [186/359] Generating sk.mo
- [187/359] Generating pt_BR.mo
- [188/359] Generating uk.mo
- [189/359] Generating zh_CN.UTF-8.mo
- [190/359] Generating zh_TW.UTF-8.mo
- [191/359] Generating vi.mo
- [192/359] Generating tr.mo
- [193/359] Generating auto/unicode_tables.generated.h
- [194/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [195/359] Building C object src/nvim/CMakeFiles/nvim.dir/math.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c: In function ‘xfpclassify’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c:14:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 14 | int xfpclassify(double d)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c: In function ‘xisinf’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c:32:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 32 | int xisinf(double d)
- | ^~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c: In function ‘xisnan’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/math.c:36:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 36 | int xisnan(double d)
- | ^~~~~~
- [196/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/tabpage.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [197/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/deprecated.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [198/359] Building C object src/nvim/CMakeFiles/nvim.dir/arabic.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/arabic.c: In function ‘arabic_maycombine’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/arabic.c:986:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 986 | bool arabic_maycombine(int two)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/arabic.c: In function ‘arabic_combine’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/arabic.c:976:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 976 | bool arabic_combine(int one, int two)
- | ^~~~~~~~~~~~~~
- [199/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/autocmd.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [200/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/window.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [201/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/extmark.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/extmark.c: In function ‘describe_ns’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/extmark.c:76:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 76 | const char *describe_ns(NS ns_id)
- | ^~~~~~~~~~~
- [202/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/vimscript.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [203/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/win_config.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [204/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/ui.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [205/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/converter.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [206/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/buffer.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [207/359] Building C object src/nvim/CMakeFiles/nvim.dir/context.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/context.c: In function ‘ctx_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/context.c:35:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 35 | size_t ctx_size(void)
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/context.c: In function ‘ctx_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/context.c:42:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 42 | Context *ctx_get(size_t index)
- | ^~~~~~~
- [208/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/vim.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c: In function ‘nvim_get_current_buf’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:954:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 954 | Buffer nvim_get_current_buf(void)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c: In function ‘nvim_get_current_win’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:1009:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1009 | Window nvim_get_current_win(void)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c: In function ‘nvim_get_current_tabpage’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:1241:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1241 | Tabpage nvim_get_current_tabpage(void)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c: In function ‘nvim__id_float’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:1948:7: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1948 | Float nvim__id_float(Float flt)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c: In function ‘nvim_eval_statusline’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:2386:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=]
- 2386 | snprintf(user_group, sizeof(user_group), "User%d", sp->userhl);
- | ^~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:2386:50: note: directive argument in the range [1, 2147483647]
- 2386 | snprintf(user_group, sizeof(user_group), "User%d", sp->userhl);
- | ^~~~~~~~
- In file included from /usr/include/stdio.h:894,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/log.h:5,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/garray.h:6,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.h:11,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/converter.h:5,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/vim.c:13:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 6
- 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 72 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 73 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- [209/359] Building C object src/nvim/CMakeFiles/nvim.dir/cursor.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [210/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/helpers.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.c: In function ‘get_default_stl_hl’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.c:1408:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1408 | const char *get_default_stl_hl(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.c: In function ‘find_sid’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.c:1617:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1617 | int find_sid(uint64_t channel_id)
- | ^~~~~~~~
- [211/359] Building C object src/nvim/CMakeFiles/nvim.dir/buffer_updates.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_updates.c: In function ‘buf_updates_active’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_updates.c:86:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 86 | bool buf_updates_active(buf_T *buf)
- | ^~~~~~~~~~~~~~~~~~
- [212/359] Building C object src/nvim/CMakeFiles/nvim.dir/cursor_shape.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/cursor_shape.c: In function ‘cursor_is_block_during_visual’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/cursor_shape.c:279:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 279 | bool cursor_is_block_during_visual(bool exclusive)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/cursor_shape.c: In function ‘cursor_mode_uses_syn_id’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/cursor_shape.c:302:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 302 | bool cursor_mode_uses_syn_id(int syn_id)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- [213/359] Building C object src/nvim/CMakeFiles/nvim.dir/debugger.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [214/359] Building C object src/nvim/CMakeFiles/nvim.dir/channel.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.c:7:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.c: In function ‘channel_instream’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.h:112:23: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 112 | static inline Stream *channel_instream(Channel *chan)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.c: In function ‘channel_job_start’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.c:376:16: warning: ‘has_in’ may be used uninitialized [-Wmaybe-uninitialized]
- 376 | int status = process_spawn(proc, has_in, has_out, has_err);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [215/359] Building C object src/nvim/CMakeFiles/nvim.dir/decoration_provider.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [216/359] Building C object src/nvim/CMakeFiles/nvim.dir/charset.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘byte2cells’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:656:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 656 | int byte2cells(int b)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘getwhitecols’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1178:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1178 | intptr_t getwhitecols(const char_u *p)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘skiphex’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1224:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1224 | char_u *skiphex(char_u *q)
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘skiptodigit’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1239:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1239 | char_u *skiptodigit(char_u *q)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘skiptohex’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1272:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1272 | char_u *skiptohex(char_u *q)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘skiptowhite’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1287:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1287 | char_u *skiptowhite(const char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘skiptowhite_esc’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1301:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1301 | char_u *skiptowhite_esc(char_u *p)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘vim_isblankline’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1394:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1394 | bool vim_isblankline(char_u *lbuf)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘hex2nr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1620:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1620 | int hex2nr(int c)
- | ^~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c: In function ‘hexhex2nr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.c:1634:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1634 | int hexhex2nr(char_u *p)
- | ^~~~~~~~~
- [217/359] Building C object src/nvim/CMakeFiles/nvim.dir/decoration.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/decoration.c: In function ‘get_decor’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/decoration.c:163:12: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 163 | Decoration get_decor(mtkey_t mark)
- | ^~~~~~~~~
- [218/359] Building C object src/nvim/CMakeFiles/nvim.dir/digraph.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/digraph.c: In function ‘digraph_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/digraph.c:1603:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1603 | int digraph_get(int char1, int char2, bool meta_char)
- | ^~~~~~~~~~~
- [219/359] Building C object src/nvim/CMakeFiles/nvim.dir/autocmd.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘au_get_autopat_for_event’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:392:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 392 | AutoPat *au_get_autopat_for_event(event_T event)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘au_event_disable’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:713:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 713 | char_u *au_event_disable(char *what)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘aucmd_pattern_length’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:1154:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1154 | size_t aucmd_pattern_length(char_u *pat)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘aucmd_next_pattern’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:1186:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1186 | char_u *aucmd_next_pattern(char_u *pat, size_t patlen)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘aupat_is_buflocal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:2396:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2396 | bool aupat_is_buflocal(char_u *pat, int patlen)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘aucmd_exec_is_deleted’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:2552:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2552 | bool aucmd_exec_is_deleted(AucmdExecutable acc)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘getnextac’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:2072:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 2072 | char_u *getnextac(int c, void *cookie, int indent, bool do_concat)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c: In function ‘au_event_is_empty’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.c:2566:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2566 | bool au_event_is_empty(event_T event)
- | ^~~~~~~~~~~~~~~~~
- [220/359] Building C object src/nvim/CMakeFiles/nvim.dir/change.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [221/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/executor.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [222/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/gc.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [223/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/libuv_process.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [224/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/loop.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [225/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/decode.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [226/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/multiqueue.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/event/multiqueue.c: In function ‘multiqueue_empty’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/event/multiqueue.c:168:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 168 | bool multiqueue_empty(MultiQueue *this)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/event/multiqueue.c: In function ‘multiqueue_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/event/multiqueue.c:181:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 181 | size_t multiqueue_size(MultiQueue *this)
- | ^~~~~~~~~~~~~~~
- [227/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/signal.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [228/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/rstream.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [229/359] Building C object src/nvim/CMakeFiles/nvim.dir/auto/lua_api_c_bindings.generated.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [230/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/process.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [231/359] Building C object src/nvim/CMakeFiles/nvim.dir/diff.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/diff.c: In function ‘diff_internal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/diff.c:885:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 885 | int diff_internal(void)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/diff.c: In function ‘diffopt_hiddenoff’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/diff.c:2252:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2252 | bool diffopt_hiddenoff(void)
- | ^~~~~~~~~~~~~~~~~
- [232/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/socket.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [233/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/stream.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [234/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/time.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [235/359] Building C object src/nvim/CMakeFiles/nvim.dir/event/wstream.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [236/359] Building C object src/nvim/CMakeFiles/nvim.dir/buffer.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘find_wininfo’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:2523:19: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2523 | static wininfo_T *find_wininfo(buf_T *buf, bool need_options, bool skip_diff_buffer)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘bufref_valid’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:356:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 356 | bool bufref_valid(bufref_T *bufref)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘buflist_findfpos’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:2601:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2601 | pos_T *buflist_findfpos(buf_T *buf)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘buflist_findlnum’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:2610:10: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2610 | linenr_T buflist_findlnum(buf_T *buf)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘buflist_findname_file_id’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:2092:15: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2092 | static buf_T *buflist_findname_file_id(char_u *ffname, FileID *file_id, bool file_id_valid)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘bt_prompt’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:4920:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 4920 | bool bt_prompt(buf_T *buf)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c: In function ‘buf_hide’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.c:5331:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5331 | bool buf_hide(const buf_T *const buf)
- | ^~~~~~~~
- [237/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/typval.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c: In function ‘tv_callback_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1114:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1114 | bool tv_callback_equal(const Callback *cb1, const Callback *cb2)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c: In function ‘tv_blob_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:2154:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2154 | bool tv_blob_equal(const blob_T *const b1, const blob_T *const b2)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c: In function ‘tv_dict_watcher_notify’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1360:23: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1360 | di->di_key[key_len] = NUL;
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1361:16: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1361 | di->di_flags = DI_FLAGS_ALLOC;
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1362:20: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1362 | di->di_tv.v_lock = VAR_UNLOCKED;
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1360:23: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1360 | di->di_key[key_len] = NUL;
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1361:16: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1361 | di->di_flags = DI_FLAGS_ALLOC;
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1362:20: warning: array subscript ‘struct dictitem_T[0]’ is partly outside array bounds of ‘unsigned char[21]’ [-Warray-bounds]
- 1362 | di->di_tv.v_lock = VAR_UNLOCKED;
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.c:1358:26: note: referencing an object of size 21 allocated by ‘xmalloc’
- 1358 | dictitem_T *const di = xmalloc(offsetof(dictitem_T, di_key) + key_len + 1);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [238/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/encode.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [239/359] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/dispatch.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [240/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_eval.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_eval.c: In function ‘aborted_in_try’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_eval.c:131:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 131 | int aborted_in_try(void)
- | ^~~~~~~~~~~~~~
- [241/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_session.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_session.c: In function ‘ses_do_frame’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_session.c:165:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 165 | static bool ses_do_frame(const frame_T *fr)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_session.c: In function ‘ses_skipframe’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_session.c:151:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 151 | static frame_T *ses_skipframe(frame_T *fr)
- | ^~~~~~~~~~~~~
- [242/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/userfunc.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_func_line’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3142:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 3142 | char_u *get_func_line(int c, void *cookie, int indent, bool do_concat)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_current_funccal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:1250:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1250 | funccall_T *get_current_funccal(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_return_cmd’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3117:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 3117 | char_u *get_return_cmd(void *rettv)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘func_has_abort’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3205:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3205 | int func_has_abort(void *cookie)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘func_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3272:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3272 | char_u *func_name(void *cookie)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘func_breakpoint’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3278:11: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 3278 | linenr_T *func_breakpoint(void *cookie)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘func_dbg_tick’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3284:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 3284 | int *func_dbg_tick(void *cookie)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘func_level’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3290:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3290 | int func_level(void *cookie)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘current_func_returned’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3296:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3296 | int current_func_returned(void)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_funccal_args_var’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3376:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3376 | dictitem_T *get_funccal_args_var(void)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_current_funccal_dict’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:3395:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3395 | dict_T *get_current_funccal_dict(hashtab_T *ht)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/string.h:535,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/os_defs.h:35,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ascii.h:8,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:6:
- In function ‘strcpy’,
- inlined from ‘cat_func_name’ at /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:569:5,
- inlined from ‘get_user_func_name’ at /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:2678:5:
- /usr/include/x86_64-linux-gnu/bits/string_fortified.h:79:10: warning: ‘__strcpy_chk’ offset 0 from the object at ‘_51’ is out of the bounds of referenced subobject ‘uf_name’ with type ‘char_u[0:]’ at offset 0 [-Warray-bounds]
- 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option_defs.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_defs.h:28,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/charset.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c:7:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/userfunc.c: In function ‘get_user_func_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.h:359:10: note: subobject ‘uf_name’ declared here
- 359 | char_u uf_name[]; ///< Name of function (actual size equals name);
- | ^~~~~~~
- [243/359] Building C object src/nvim/CMakeFiles/nvim.dir/extmark.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_defs.h:46,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/extmark.c:34:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/extmark.c: In function ‘mt_flags’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.h:105:24: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 105 | static inline uint16_t mt_flags(bool right_gravity, uint8_t decor_level)
- | ^~~~~~~~
- [244/359] Building C object src/nvim/CMakeFiles/nvim.dir/garray.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [245/359] Building C object src/nvim/CMakeFiles/nvim.dir/file_search.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [246/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds2.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘get_profile_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:203:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 203 | char_u *get_profile_name(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘prof_def_func’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:441:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 441 | bool prof_def_func(void)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘source_breakpoint’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:1722:11: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1722 | linenr_T *source_breakpoint(void *cookie)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘source_dbg_tick’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:1728:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1728 | int *source_dbg_tick(void *cookie)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘source_level’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:1734:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1734 | int source_level(void *cookie)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c: In function ‘get_sourced_lnum’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds2.c:2290:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2290 | linenr_T get_sourced_lnum(LineGetter fgetline, void *cookie)
- | ^~~~~~~~~~~~~~~~
- [247/359] Building C object src/nvim/CMakeFiles/nvim.dir/hashtab.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c: In function ‘hash_lookup’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c:121:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 121 | hashitem_T *hash_lookup(const hashtab_T *const ht, const char *const key, const size_t key_len,
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c: In function ‘hash_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c:396:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 396 | hash_T hash_hash(const char_u *key)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c: In function ‘hash_find’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c:88:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 88 | hashitem_T *hash_find(const hashtab_T *const ht, const char_u *const key)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c: In function ‘hash_find_len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c:105:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 105 | hashitem_T *hash_find_len(const hashtab_T *const ht, const char *const key, const size_t len)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c: In function ‘_hash_key_removed’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hashtab.c:447:15: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 447 | const char_u *_hash_key_removed(void)
- | ^~~~~~~~~~~~~~~~~
- [248/359] Building C object src/nvim/CMakeFiles/nvim.dir/highlight.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight.c: In function ‘syn_attr2entry’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight.c:699:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 699 | HlAttrs syn_attr2entry(int attr)
- | ^~~~~~~~~~~~~~
- [249/359] Building C object src/nvim/CMakeFiles/nvim.dir/indent.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent.c: In function ‘may_do_si’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent.c:526:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 526 | bool may_do_si(void)
- | ^~~~~~~~~
- [250/359] Building C object src/nvim/CMakeFiles/nvim.dir/fold.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘getDeepestNestingRecurse’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:1493:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1493 | static int getDeepestNestingRecurse(garray_T *gap)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsManual’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:315:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 315 | int foldmethodIsManual(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘hasAnyFolding’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:134:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 134 | int hasAnyFolding(win_T *win)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsIndent’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:322:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 322 | int foldmethodIsIndent(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsExpr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:329:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 329 | int foldmethodIsExpr(win_T *wp)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsMarker’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:336:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 336 | int foldmethodIsMarker(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsSyntax’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:343:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 343 | int foldmethodIsSyntax(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘foldmethodIsDiff’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:350:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 350 | int foldmethodIsDiff(win_T *wp)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c: In function ‘find_wl_entry’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fold.c:972:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 972 | int find_wl_entry(win_T *win, linenr_T lnum)
- | ^~~~~~~~~~~~~
- [251/359] Building C object src/nvim/CMakeFiles/nvim.dir/hardcopy.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c: In function ‘prt_header_height’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c:501:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 501 | int prt_header_height(void)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c: In function ‘prt_use_number’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c:512:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 512 | int prt_use_number(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c: In function ‘prt_get_unit’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/hardcopy.c:522:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 522 | int prt_get_unit(int idx)
- | ^~~~~~~~~~~~
- [252/359] Building C object src/nvim/CMakeFiles/nvim.dir/input.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [253/359] Building C object src/nvim/CMakeFiles/nvim.dir/highlight_group.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘highlight_num_groups’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:456:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 456 | int highlight_num_groups(void)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘highlight_group_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:462:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 462 | char_u *highlight_group_name(int id)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘highlight_link_id’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:468:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 468 | int highlight_link_id(int id)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘syn_id2name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:1705:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1705 | char_u *syn_id2name(int id)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘get_highlight_name_ext’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:2043:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2043 | const char *get_highlight_name_ext(expand_T *xp, int idx, bool skip_cleared)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘get_highlight_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:2034:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2034 | const char *get_highlight_name(expand_T *const xp, int idx)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c: In function ‘set_hl_group’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:718:46: warning: ‘%06x’ directive output may be truncated writing between 6 and 8 bytes into a region of size 7 [-Wformat-truncation=]
- 718 | snprintf(hex_name, sizeof(hex_name), "#%06x", cattrs[j].val);
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:718:44: note: directive argument in the range [0, 2147483647]
- 718 | snprintf(hex_name, sizeof(hex_name), "#%06x", cattrs[j].val);
- | ^~~~~~~
- In file included from /usr/include/stdio.h:894,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_defs.h:7,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/autocmd.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/highlight_group.c:7:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘snprintf’ output between 8 and 10 bytes into a destination of size 8
- 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 72 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 73 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- [254/359] Building C object src/nvim/CMakeFiles/nvim.dir/if_cscope.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c: In function ‘cs_cnt_connections’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c:534:15: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 534 | static size_t cs_cnt_connections(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c: In function ‘cs_check_for_connections’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c:523:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 523 | static bool cs_check_for_connections(void)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c: In function ‘cs_connection’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/if_cscope.c:334:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 334 | bool cs_connection(int num, char_u *dbpath, char_u *ppath)
- | ^~~~~~~~~~~~~
- [255/359] Building C object src/nvim/CMakeFiles/nvim.dir/log.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [256/359] Building C object src/nvim/CMakeFiles/nvim.dir/edit.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘buf_prompt_text’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:1656:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1656 | char_u *buf_prompt_text(const buf_T *const buf)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘prompt_text’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:1666:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1666 | char_u *prompt_text(void) FUNC_ATTR_WARN_UNUSED_RESULT
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘prompt_curpos_editable’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:1713:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1713 | bool prompt_curpos_editable(void)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘ctrl_x_mode_not_default’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:2103:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2103 | bool ctrl_x_mode_not_default(void)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘ctrl_x_mode_not_defined_yet’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:2110:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2110 | bool ctrl_x_mode_not_defined_yet(void)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘get_last_insert’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:7158:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7158 | char_u *get_last_insert(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c: In function ‘hkmap’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/edit.c:7704:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7704 | int hkmap(int c)
- | ^~~~~
- [257/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/spell.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [258/359] Building C object src/nvim/CMakeFiles/nvim.dir/keymap.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/keymap.c: In function ‘find_special_key_in_table’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/keymap.c:796:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 796 | int find_special_key_in_table(int c)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- [259/359] Building C object src/nvim/CMakeFiles/nvim.dir/getchar.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘stuff_empty’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:399:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 399 | int stuff_empty(void)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘readbuf1_empty’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:408:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 408 | int readbuf1_empty(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘typebuf_changed’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:1028:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1028 | bool typebuf_changed(int tb_change_cnt)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘typebuf_typed’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:1039:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1039 | int typebuf_typed(void)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘typebuf_maplen’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:1047:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1047 | int typebuf_maplen(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c: In function ‘using_script’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.c:1406:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1406 | int using_script(void)
- | ^~~~~~~~~~~~
- [260/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds.c: In function ‘help_heuristic’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_cmds.c:4987:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4987 | int help_heuristic(char_u *matched_string, int offset, int wrong_case)
- | ^~~~~~~~~~~~~~
- [261/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/xdiff.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [262/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/stdlib.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [263/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘calc_hist_idx’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:6024:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6024 | static int calc_hist_idx(int histype, int num)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘text_locked’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:2486:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2486 | int text_locked(void)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_text_locked_msg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:2503:7: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2503 | char *get_text_locked_msg(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘cmdline_overstrike’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:2606:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2606 | bool cmdline_overstrike(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘cmdline_at_end’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:2613:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2613 | bool cmdline_at_end(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_history_idx’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:5916:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5916 | int get_history_idx(int histype)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_cmdline_str’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:5947:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 5947 | char_u *get_cmdline_str(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_cmdline_pos’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:5966:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5966 | int get_cmdline_pos(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_cmdline_type’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:6005:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6005 | int get_cmdline_type(void)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c: In function ‘get_history_entry’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_getln.c:6065:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6065 | char_u *get_history_entry(int histype, int idx)
- | ^~~~~~~~~~~~~~~~~
- [264/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/treesitter.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [265/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/converter.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [266/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘var_flavour’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:9921:22: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 9921 | static var_flavour_T var_flavour(char_u *varname)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘partial_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:5052:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5052 | char_u *partial_name(partial_T *pt)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘eval_isnamec’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:8191:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 8191 | int eval_isnamec(int c)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘eval_isnamec1’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:8198:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 8198 | int eval_isnamec1(int c)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘get_vim_var_tv’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:8204:11: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 8204 | typval_T *get_vim_var_tv(int idx)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘is_luafunc’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:8524:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 8524 | bool is_luafunc(partial_T *partial)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘do_string_sub’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:10391:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 10391 | char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c: In function ‘typval_tostring’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.c:10953:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 10953 | char *typval_tostring(typval_T *arg)
- | ^~~~~~~~~~~~~~~
- [267/359] Building C object src/nvim/CMakeFiles/nvim.dir/lua/executor.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c: In function ‘nlua_get_global_ref_count’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c:481:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 481 | int nlua_get_global_ref_count(void)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c: In function ‘nlua_is_deferred_safe’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c:1392:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1392 | bool nlua_is_deferred_safe(void)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c: In function ‘nlua_is_table_from_lua’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lua/executor.c:1699:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1699 | bool nlua_is_table_from_lua(typval_T *const arg)
- | ^~~~~~~~~~~~~~~~~~~~~~
- [268/359] Building C object src/nvim/CMakeFiles/nvim.dir/fileio.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c: In function ‘vim_tempname’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:5486:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 5486 | char_u *vim_tempname(void)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c: In function ‘buf_write’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:2947:79: warning: array subscript -1 is outside array bounds of ‘char_u[1025]’ [-Warray-bounds]
- 2947 | bool trailing_pathseps = after_pathsep((char *)IObuff, (char *)p) && p[-1] == p[-2];
- | ~^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/vim.h:308,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.h:8,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.h:7,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:15:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/globals.h:687:15: note: while referencing ‘IObuff’
- 687 | EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
- | ^~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:2947:88: warning: array subscript -2 is outside array bounds of ‘char_u[1025]’ [-Warray-bounds]
- 2947 | bool trailing_pathseps = after_pathsep((char *)IObuff, (char *)p) && p[-1] == p[-2];
- | ~^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/vim.h:308,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.h:8,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.h:7,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:15:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/globals.h:687:15: note: while referencing ‘IObuff’
- 687 | EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
- | ^~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:2783:79: warning: array subscript -1 is outside array bounds of ‘char_u[1025]’ [-Warray-bounds]
- 2783 | bool trailing_pathseps = after_pathsep((char *)IObuff, (char *)p) && p[-1] == p[-2];
- | ~^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/vim.h:308,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.h:8,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.h:7,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:15:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/globals.h:687:15: note: while referencing ‘IObuff’
- 687 | EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
- | ^~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:2783:88: warning: array subscript -2 is outside array bounds of ‘char_u[1025]’ [-Warray-bounds]
- 2783 | bool trailing_pathseps = after_pathsep((char *)IObuff, (char *)p) && p[-1] == p[-2];
- | ~^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/vim.h:308,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/getchar.h:8,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.h:7,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/fileio.c:15:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/globals.h:687:15: note: while referencing ‘IObuff’
- 687 | EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
- | ^~~~~~
- [269/359] Building C object src/nvim/CMakeFiles/nvim.dir/indent_c.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘skip_string’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:138:22: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 138 | static const char_u *skip_string(const char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_skipcomment’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:251:22: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 251 | static const char_u *cin_skipcomment(const char_u *s)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_isdefault’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:508:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 508 | static int cin_isdefault(const char_u *s)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_nocode’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:288:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 288 | static int cin_nocode(const char_u *s)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_ends_in’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:1321:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1321 | static int cin_ends_in(const char_u *s, const char_u *find, const char_u *ignore)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_is_cpp_namespace’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:545:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 545 | static bool cin_is_cpp_namespace(const char_u *s)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_is_cpp_extern_c’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:1353:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1353 | static int cin_is_cpp_extern_c(const char_u *s)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_iselse’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:991:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 991 | static int cin_iselse(const char_u *p)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_isterminated’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:833:1: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 833 | cin_isterminated(
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_has_js_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:317:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 317 | static bool cin_has_js_key(const char_u *text)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘is_pos_in_string’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:201:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 201 | int is_pos_in_string(const char_u *line, colnr_T col)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘cin_iscase’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:464:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 464 | bool cin_iscase(
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c: In function ‘after_label’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/indent_c.c:592:22: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 592 | static const char_u *after_label(const char_u *l)
- | ^~~~~~~~~~~
- [270/359] Building C object src/nvim/CMakeFiles/nvim.dir/match.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/match.c: In function ‘get_match’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/match.c:287:14: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 287 | matchitem_T *get_match(win_T *wp, int id)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/match.c: In function ‘get_prevcol_hl_flag’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/match.c:746:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 746 | bool get_prevcol_hl_flag(win_T *wp, match_T *search_hl, long curcol)
- | ^~~~~~~~~~~~~~~~~~~
- [271/359] Building C object src/nvim/CMakeFiles/nvim.dir/memfile.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c: In function ‘mf_hash_find’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c:856:23: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 856 | static mf_hashitem_T *mf_hash_find(mf_hashtab_T *mht, blocknr_T key)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c: In function ‘mf_find_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c:456:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 456 | static bhdr_T *mf_find_hash(memfile_T *mfp, blocknr_T nr)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c: In function ‘mf_need_trans’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memfile.c:772:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 772 | bool mf_need_trans(memfile_T *mfp)
- | ^~~~~~~~~~~~~
- [272/359] Building C object src/nvim/CMakeFiles/nvim.dir/main.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [273/359] Building C object src/nvim/CMakeFiles/nvim.dir/memory.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [274/359] Building C object src/nvim/CMakeFiles/nvim.dir/eval/funcs.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/funcs.c:99:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/funcs.c: In function ‘find_internal_func_gperf’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/funcs.generated.h.gperf:219:1: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 219 | pathshorten, 1, 2, 1, &f_pathshorten, (FunPtr)NULL
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- [275/359] Building C object src/nvim/CMakeFiles/nvim.dir/marktree.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c:54:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c: In function ‘mt_flags’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.h:105:24: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 105 | static inline uint16_t mt_flags(bool right_gravity, uint8_t decor_level)
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c: In function ‘marktree_itr_node_done’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c:797:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 797 | bool marktree_itr_node_done(MarkTreeIter *itr)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c: In function ‘marktree_itr_pos’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c:803:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 803 | mtpos_t marktree_itr_pos(MarkTreeIter *itr)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c: In function ‘marktree_itr_current’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c:810:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 810 | mtkey_t marktree_itr_current(MarkTreeIter *itr)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c: In function ‘mt_right_test’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/marktree.c:1119:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1119 | bool mt_right_test(mtkey_t key)
- | ^~~~~~~~~~~~~
- [276/359] Building C object src/nvim/CMakeFiles/nvim.dir/ex_docmd.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘compute_buffer_local_count’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:1041:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1041 | static int compute_buffer_local_count(int addr_type, int lnum, int offset)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘skip_colon_white’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:1209:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1209 | static char_u *skip_colon_white(const char_u *p, bool skipleadingwhite)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘getline_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:999:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 999 | int getline_equal(LineGetter fgetline, void *cookie, LineGetter func)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘getline_cookie’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:1020:7: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1020 | void *getline_cookie(LineGetter fgetline, void *cookie)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘modifier_len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:2843:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2843 | int modifier_len(char_u *cmd)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘find_nextcmd’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:5085:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 5085 | char_u *find_nextcmd(const char_u *p)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘check_nextcmd’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:5099:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5099 | char_u *check_nextcmd(char_u *p)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘uc_validate_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:5158:7: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 5158 | char *uc_validate_name(char *name)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_user_cmd_addr_type’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6337:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6337 | char_u *get_user_cmd_addr_type(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_command_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:5146:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5146 | char_u *get_command_name(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_user_cmd_flags’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6381:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6381 | char_u *get_user_cmd_flags(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_user_cmd_nargs’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6394:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6394 | char_u *get_user_cmd_nargs(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_user_cmd_complete’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6405:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6405 | char_u *get_user_cmd_complete(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘cmdcomplete_str_to_type’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6509:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6509 | int cmdcomplete_str_to_type(const char *complete_str)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_behave_arg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:9401:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 9401 | char_u *get_behave_arg(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_messages_arg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:9414:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 9414 | char_u *get_messages_arg(expand_T *xp FUNC_ATTR_UNUSED, int idx)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: In function ‘get_mapclear_arg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:9422:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 9422 | char_u *get_mapclear_arg(expand_T *xp FUNC_ATTR_UNUSED, int idx)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c: At top level:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6337:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 6337 | char_u *get_user_cmd_addr_type(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6381:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 6381 | char_u *get_user_cmd_flags(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6394:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 6394 | char_u *get_user_cmd_nargs(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ex_docmd.c:6405:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 6405 | char_u *get_user_cmd_complete(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~~~~~~~
- [277/359] Building C object src/nvim/CMakeFiles/nvim.dir/mouse.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mouse.c: In function ‘is_mouse_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mouse.c:34:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 34 | bool is_mouse_key(int c)
- | ^~~~~~~~~~~~
- [278/359] Building C object src/nvim/CMakeFiles/nvim.dir/mark.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mark.c: In function ‘getnextmark’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mark.c:451:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 451 | pos_T *getnextmark(pos_T *startpos, int dir, int begin_line)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mark.c: In function ‘get_global_mark’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mark.c:1649:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1649 | xfmark_T get_global_mark(char name)
- | ^~~~~~~~~~~~~~~
- [279/359] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/server.c: In function ‘server_owns_pipe_address’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/server.c:107:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 107 | bool server_owns_pipe_address(const char *path)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- [280/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/dl.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [281/359] Building C object src/nvim/CMakeFiles/nvim.dir/mbyte.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘intable’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:438:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 438 | static bool intable(const struct interval *table, size_t n_items, int c)
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_convert’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1216:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1216 | static int utf_convert(int a, const convertStruct *const table, size_t n_items)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘enc_canon_props’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:353:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 353 | int enc_canon_props(const char_u *name)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘bomb_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:375:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 375 | int bomb_size(void)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_byte2len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:851:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 851 | int utf_byte2len(int b)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_ptr2len_len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:864:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 864 | int utf_ptr2len_len(const char_u *p, int size)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_char2len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:983:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 983 | int utf_char2len(const int c)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_iscomposing’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1048:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1048 | bool utf_iscomposing(int c)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_printable’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1057:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1057 | bool utf_printable(int c)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_char2cells’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:471:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 471 | int utf_char2cells(int c)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_class_tab’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1089:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1089 | int utf_class_tab(const int c, const uint64_t *const chartab)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_get_class_tab’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:421:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 421 | int mb_get_class_tab(const char_u *p, const uint64_t *const chartab)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_get_class’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:416:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 416 | int mb_get_class(const char_u *p)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_class’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1084:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1084 | int utf_class(const int c)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_ambiguous_width’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1205:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1205 | bool utf_ambiguous_width(int c)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘utf_fold’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1245:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1245 | int utf_fold(int a)
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_toupper’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1261:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1261 | int mb_toupper(int a)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_islower’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1284:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1284 | bool mb_islower(int a)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_tolower’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1292:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1292 | int mb_tolower(int a)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_isupper’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1315:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1315 | bool mb_isupper(int a)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_isalpha’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1320:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1320 | bool mb_isalpha(int a)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_utf_index_to_bytes’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1520:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1520 | ssize_t mb_utf_index_to_bytes(const char_u *s, size_t len, size_t index, bool use_utf16_units)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_off_next’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1833:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1833 | int mb_off_next(const char_u *base, const char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_tail_off’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1861:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1861 | int mb_tail_off(const char_u *base, const char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_head_off’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:1895:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1895 | int mb_head_off(const char_u *base, const char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_charlen’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:2047:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2047 | int mb_charlen(const char_u *str)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘mb_charlen_len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:2064:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2064 | int mb_charlen_len(const char_u *str, int len)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c: In function ‘enc_skip’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/mbyte.c:2127:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2127 | char_u *enc_skip(char_u *p)
- | ^~~~~~~~
- [282/359] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/channel.c:14:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/channel.c: In function ‘channel_outstream’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.h:132:23: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 132 | static inline Stream *channel_outstream(Channel *chan)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/channel.c: In function ‘channel_instream’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/channel.h:112:23: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 112 | static inline Stream *channel_instream(Channel *chan)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/channel.c: In function ‘rpc_client_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/channel.c:685:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 685 | const char *rpc_client_name(Channel *chan)
- | ^~~~~~~~~~~~~~~
- [283/359] Building C object src/nvim/CMakeFiles/nvim.dir/menu.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/menu.c: In function ‘menu_skip_part’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/menu.c:1579:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1579 | static char_u *menu_skip_part(char_u *p)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/menu.c: In function ‘menu_is_separator’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/menu.c:1362:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1362 | int menu_is_separator(char_u *name)
- | ^~~~~~~~~~~~~~~~~
- [284/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/fileio.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [285/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/lang.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [286/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/fs.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fopen’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:451:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 451 | FILE *os_fopen(const char *path, const char *flags)
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileinfo_id_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1088:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1088 | bool os_fileinfo_id_equal(const FileInfo *file_info_1, const FileInfo *file_info_2)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileinfo_inode’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1111:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1111 | uint64_t os_fileinfo_inode(const FileInfo *file_info)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileinfo_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1120:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1120 | uint64_t os_fileinfo_size(const FileInfo *file_info)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileinfo_hardlinks’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1129:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1129 | uint64_t os_fileinfo_hardlinks(const FileInfo *file_info)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileinfo_blocksize’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1138:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1138 | uint64_t os_fileinfo_blocksize(const FileInfo *file_info)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileid_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1166:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1166 | bool os_fileid_equal(const FileID *file_id_1, const FileID *file_id_2)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c: In function ‘os_fileid_equal_fileinfo’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/fs.c:1178:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1178 | bool os_fileid_equal_fileinfo(const FileID *file_id, const FileInfo *file_info)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- [287/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/process.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [288/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/env.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/env.c: In function ‘os_get_fullenv_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/env.c:187:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 187 | size_t os_get_fullenv_size(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/env.c: In function ‘os_getenvname_at_index’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/env.c:282:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 282 | char *os_getenvname_at_index(size_t index)
- | ^~~~~~~~~~~~~~~~~~~~~~
- [289/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/mem.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [290/359] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘create_augroup_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:6:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6 | int create_augroup_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_create_augroup_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:22:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 22 | Object *KeyDict_create_augroup_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘get_autocmds_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:40:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 40 | int get_autocmds_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_get_autocmds_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:63:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 63 | Object *KeyDict_get_autocmds_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘get_commands_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:78:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 78 | int get_commands_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_get_commands_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:94:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 94 | Object *KeyDict_get_commands_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘clear_autocmds_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:112:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 112 | int clear_autocmds_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_clear_autocmds_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:135:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 135 | Object *KeyDict_clear_autocmds_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘user_command_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:160:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 160 | int user_command_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_user_command_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:198:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 198 | Object *KeyDict_user_command_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘exec_autocmds_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:216:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 216 | int exec_autocmds_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_exec_autocmds_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:235:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 235 | Object *KeyDict_exec_autocmds_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘highlight_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:275:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 275 | int highlight_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_highlight_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:352:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 352 | Object *KeyDict_highlight_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘highlight_cterm_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:377:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 377 | int highlight_cterm_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_highlight_cterm_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:415:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 415 | Object *KeyDict_highlight_cterm_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘create_autocmd_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:437:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 437 | int create_autocmd_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_create_autocmd_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:472:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 472 | Object *KeyDict_create_autocmd_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘keymap_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:494:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 494 | int keymap_hash(const char *str, size_t len)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_keymap_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:525:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 525 | Object *KeyDict_keymap_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘option_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:540:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 540 | int option_hash(const char *str, size_t len)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_option_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:556:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 556 | Object *KeyDict_option_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘context_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:571:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 571 | int context_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_context_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:587:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 587 | Object *KeyDict_context_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘runtime_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:602:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 602 | int runtime_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_runtime_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:618:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 618 | Object *KeyDict_runtime_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘float_config_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:646:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 646 | int float_config_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_float_config_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:695:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 695 | Object *KeyDict_float_config_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘eval_statusline_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:714:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 714 | int eval_statusline_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_eval_statusline_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:738:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 738 | Object *KeyDict_eval_statusline_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘set_extmark_hash’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:777:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 777 | int set_extmark_hash(const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘KeyDict_set_extmark_get_field’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/build/src/nvim/auto/keysets.generated.h:841:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 841 | Object *KeyDict_set_extmark_get_field(void *retval, const char *str, size_t len)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘msgpack_rpc_method’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c:479:17: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 479 | msgpack_object *msgpack_rpc_method(msgpack_object *req)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c: In function ‘msgpack_rpc_args’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/msgpack_rpc/helpers.c:487:17: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 487 | msgpack_object *msgpack_rpc_args(msgpack_object *req)
- | ^~~~~~~~~~~~~~~~
- [291/359] Building C object src/nvim/CMakeFiles/nvim.dir/move.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/move.c: In function ‘scrolljump_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/move.c:365:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 365 | static int scrolljump_value(void)
- | ^~~~~~~~~~~~~~~~
- [292/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/input.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/input.c: In function ‘input_global_fd’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/input.c:56:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 56 | int input_global_fd(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/input.c: In function ‘input_blocking’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/input.c:429:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 429 | bool input_blocking(void)
- | ^~~~~~~~~~~~~~
- [293/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/tty.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [294/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/pty_process_unix.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [295/359] Building C object src/nvim/CMakeFiles/nvim.dir/memline.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memline.c: In function ‘ml_line_alloced’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/memline.c:1908:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1908 | int ml_line_alloced(void)
- | ^~~~~~~~~~~~~~~
- [296/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/stdpaths.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [297/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/signal.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [298/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/time.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [299/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/users.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/users.c: In function ‘os_get_user_directory’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/users.c:148:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 148 | char *os_get_user_directory(const char *name)
- | ^~~~~~~~~~~~~~~~~~~~~
- [300/359] Building C object src/nvim/CMakeFiles/nvim.dir/message.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c: In function ‘msg_sb_start’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c:2548:20: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2548 | static msgchunk_T *msg_sb_start(msgchunk_T *mps)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c: In function ‘emsg_not_now’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c:599:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 599 | int emsg_not_now(void)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c: In function ‘msg_scrollsize’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c:2289:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2289 | int msg_scrollsize(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c: In function ‘redirecting’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/message.c:3246:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3246 | int redirecting(void)
- | ^~~~~~~~~~~
- [301/359] Building C object src/nvim/CMakeFiles/nvim.dir/os_unix.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os_unix.c: In function ‘mch_get_acl’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os_unix.c:54:11: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 54 | vim_acl_T mch_get_acl(const char_u *fname)
- | ^~~~~~~~~~~
- [302/359] Building C object src/nvim/CMakeFiles/nvim.dir/profile.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [303/359] Building C object src/nvim/CMakeFiles/nvim.dir/rbuffer.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c: In function ‘rbuffer_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c:40:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 40 | size_t rbuffer_size(RBuffer *buf) FUNC_ATTR_NONNULL_ALL
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c: In function ‘rbuffer_capacity’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c:45:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 45 | size_t rbuffer_capacity(RBuffer *buf) FUNC_ATTR_NONNULL_ALL
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c: In function ‘rbuffer_space’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c:50:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 50 | size_t rbuffer_space(RBuffer *buf) FUNC_ATTR_NONNULL_ALL
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c: In function ‘rbuffer_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c:199:7: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 199 | char *rbuffer_get(RBuffer *buf, size_t index)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c: In function ‘rbuffer_cmp’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/rbuffer.c:210:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 210 | int rbuffer_cmp(RBuffer *buf, const char *str, size_t count)
- | ^~~~~~~~~~~
- [304/359] Building C object src/nvim/CMakeFiles/nvim.dir/map.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘__ac_X31_hash_string’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:458:26: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 458 | static kh_inline khint_t __ac_X31_hash_string(const char *s)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_int_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_int_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_int_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_int_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_int_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_cstr_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_cstr_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_ptr_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_ptr_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_ptr_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_cstr_t_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_cstr_t_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_int_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_int_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_cstr_t_int_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_ptr_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_ptr_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ptr_t_ptr_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ptr_t_ptr_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ptr_t_ptr_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_uint64_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_uint64_t_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ptr_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ptr_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ptr_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_uint64_t_ssize_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_uint64_t_ssize_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ssize_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ssize_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_ssize_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_uint64_t_uint64_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_uint64_t_uint64_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_uint64_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_uint64_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint64_t_uint64_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_uint32_t_uint32_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_uint32_t_uint32_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint32_t_uint32_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint32_t_uint32_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_uint32_t_uint32_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_handle_T_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_handle_T_ptr_t_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_handle_T_ptr_t_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_handle_T_ptr_t_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_handle_T_ptr_t_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_String_MsgpackRpcRequestHandler_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_String_MsgpackRpcRequestHandler_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_MsgpackRpcRequestHandler_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_MsgpackRpcRequestHandler_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_MsgpackRpcRequestHandler_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_HlEntry_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_HlEntry_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_HlEntry_int_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_HlEntry_int_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_HlEntry_int_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_String_handle_T_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_String_handle_T_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_handle_T_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_handle_T_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_handle_T_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_String_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_String_int_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_int_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_int_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_int_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_int_String_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_int_String_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_String_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_String_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_int_String_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_String_UIClientHandler_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_String_UIClientHandler_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_UIClientHandler_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_UIClientHandler_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_String_UIClientHandler_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:18:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_init_ColorKey_ColorItem_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:211:24: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 211 | SCOPE kh_##name##_t *kh_init_##name(void) { \
- | ^~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘kh_get_ColorKey_ColorItem_map’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ColorKey_ColorItem_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:56:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 56 | U map_##T##_##U##_get(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ColorKey_ColorItem_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:64:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 64 | bool map_##T##_##U##_has(Map(T, U) *map, T key) \
- | ^~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c: In function ‘map_ColorKey_ColorItem_key’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.c:68:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 68 | T map_##T##_##U##_key(Map(T, U) *map, T key) \
- | ^~~~
- [305/359] Building C object src/nvim/CMakeFiles/nvim.dir/os/shell.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/shell.c: In function ‘word_length’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/os/shell.c:1171:15: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1171 | static size_t word_length(const char_u *str)
- | ^~~~~~~~~~~
- [306/359] Building C object src/nvim/CMakeFiles/nvim.dir/plines.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/plines.c: In function ‘win_may_fill’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/plines.c:70:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 70 | bool win_may_fill(win_T *wp)
- | ^~~~~~~~~~~~
- [307/359] Building C object src/nvim/CMakeFiles/nvim.dir/popupmnu.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/popupmnu.c: In function ‘pum_visible’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/popupmnu.c:875:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 875 | bool pum_visible(void)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/popupmnu.c: In function ‘pum_drawn’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/popupmnu.c:881:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 881 | bool pum_drawn(void)
- | ^~~~~~~~~
- [308/359] Building C object src/nvim/CMakeFiles/nvim.dir/sha256.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [309/359] Building C object src/nvim/CMakeFiles/nvim.dir/runtime.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/runtime.c: In function ‘get_lib_dir’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/runtime.c:1170:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 1170 | char *get_lib_dir(void)
- | ^~~~~~~~~~~
- [310/359] Building C object src/nvim/CMakeFiles/nvim.dir/path.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘has_special_wildchar’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1167:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1167 | static bool has_special_wildchar(char_u *p)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘has_env_var’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1151:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1151 | static bool has_env_var(char_u *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_head_length’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:186:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 186 | int path_head_length(void)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘vim_ispathsep’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:235:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 235 | int vim_ispathsep(int c)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_next_component’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:170:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 170 | const char *path_next_component(const char *fname)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘is_path_head’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:201:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 201 | bool is_path_head(const char_u *path)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘get_past_head’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:213:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 213 | char_u *get_past_head(const char_u *path)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘get_path_cutoff’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:894:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 894 | static char_u *get_path_cutoff(char_u *fname, garray_T *gap)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘vim_ispathsep_nocolon’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:251:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 251 | int vim_ispathsep_nocolon(int c)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_tail’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:95:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 95 | char_u *path_tail(const char_u *fname)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘vim_ispathlistsep’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:263:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 263 | int vim_ispathlistsep(int c)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_has_wildcard’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:513:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 513 | bool path_has_wildcard(const char_u *p)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_has_exp_wildcard’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:548:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 548 | bool path_has_exp_wildcard(const char_u *p)
- | ^~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_is_url’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1752:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1752 | int path_is_url(const char *p)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_with_url’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1766:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1766 | int path_with_url(const char *fname)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_with_extension’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1791:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1791 | bool path_with_extension(const char *path, const char *extension)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_shorten_fname’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:2077:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2077 | char_u *path_shorten_fname(char_u *full_path, char_u *dir_name)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘path_is_absolute’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:2401:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2401 | int path_is_absolute(const char_u *fname)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘vim_isAbsName’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1803:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1803 | bool vim_isAbsName(char_u *name)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c: In function ‘fix_fname’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/path.c:1859:7: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 1859 | char *fix_fname(const char *fname)
- | ^~~~~~~~~
- [311/359] Building C object src/nvim/CMakeFiles/nvim.dir/state.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/state.c: In function ‘get_real_state’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/state.c:144:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 144 | int get_real_state(void)
- | ^~~~~~~~~~~~~~
- [312/359] Building C object src/nvim/CMakeFiles/nvim.dir/sign.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘find_sign_by_typenr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:250:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 250 | static sign_T *find_sign_by_typenr(int typenr)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘get_nth_sign_group_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:1727:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1727 | static char_u *get_nth_sign_group_name(int idx)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘buf_getsign_at_line’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:616:22: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 616 | static sign_entry_T *buf_getsign_at_line(buf_T *buf, linenr_T lnum, char_u *groupname)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘buf_findsign_id’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:640:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 640 | static int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘buf_findsign’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:597:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 597 | static int buf_findsign(buf_T *buf, int id, char_u *group)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘sign_get_attr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:447:15: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 447 | sign_attrs_T *sign_get_attr(SignType type, sign_attrs_T sattrs[], int idx, int max_signs)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c: In function ‘get_sign_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/sign.c:1746:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1746 | char_u *get_sign_name(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~
- [313/359] Building C object src/nvim/CMakeFiles/nvim.dir/strings.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [314/359] Building C object src/nvim/CMakeFiles/nvim.dir/ops.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_y_previous’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:138:12: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 138 | yankreg_T *get_y_previous(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘op_on_lines’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:188:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 188 | int op_on_lines(int op)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘op_is_change’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:194:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 194 | int op_is_change(int op)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_op_char’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:203:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 203 | int get_op_char(int optype)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_extra_op_char’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:211:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 211 | int get_extra_op_char(int optype)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_expr_line_src’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:786:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 786 | char_u *get_expr_line_src(void)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘valid_yank_reg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:800:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 800 | bool valid_yank_reg(int regname, bool writing)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_register_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:3799:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 3799 | int get_register_name(int num)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘get_unname_register’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:3817:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3817 | int get_unname_register(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘op_reg_amount’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:7327:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7327 | size_t op_reg_amount(void)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: In function ‘op_reg_get’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:7366:18: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 7366 | const yankreg_T *op_reg_get(const char name)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c: At top level:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:188:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 188 | int op_on_lines(int op)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:194:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 194 | int op_is_change(int op)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:203:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 203 | int get_op_char(int optype)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ops.c:211:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 211 | int get_extra_op_char(int optype)
- | ^~~~~~~~~~~~~~~~~
- [315/359] Building C object src/nvim/CMakeFiles/nvim.dir/normal.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/normal.c: In function ‘find_command’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/normal.c:399:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 399 | static int find_command(int cmdchar)
- | ^~~~~~~~~~~~
- [316/359] Building C object src/nvim/CMakeFiles/nvim.dir/terminal.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/terminal.c: In function ‘terminal_buf’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/terminal.c:794:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 794 | Buffer terminal_buf(const Terminal *term)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/terminal.c: In function ‘terminal_running’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/terminal.c:799:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 799 | bool terminal_running(const Terminal *term)
- | ^~~~~~~~~~~~~~~~
- [317/359] Building C object src/nvim/CMakeFiles/nvim.dir/tui/terminfo.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tui/terminfo.c: In function ‘terminfo_is_term_family’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tui/terminfo.c:23:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 23 | bool terminfo_is_term_family(const char *term, const char *family)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tui/terminfo.c: In function ‘terminfo_is_bsd_console’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tui/terminfo.c:39:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 39 | bool terminfo_is_bsd_console(const char *term)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- [318/359] Building C object src/nvim/CMakeFiles/nvim.dir/ugrid.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [319/359] Building C object src/nvim/CMakeFiles/nvim.dir/testing.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [320/359] Building C object src/nvim/CMakeFiles/nvim.dir/quickfix.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c: In function ‘efm_option_part_len’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:572:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 572 | static int efm_option_part_len(char_u *efm)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c: In function ‘qf_stack_get_bufnr’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:1709:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1709 | int qf_stack_get_bufnr(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c: In function ‘qf_current_entry’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:3834:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 3834 | linenr_T qf_current_entry(win_T *wp)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c: In function ‘grep_internal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:4311:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 4311 | int grep_internal(cmdidx_T cmdidx)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c: At top level:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:4496:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 4496 | size_t qf_get_size(exarg_T *eap)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/quickfix.c:4543:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4543 | size_t qf_get_cur_idx(exarg_T *eap)
- | ^~~~~~~~~~~~~~
- [321/359] Building C object src/nvim/CMakeFiles/nvim.dir/tui/input.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [322/359] Building C object src/nvim/CMakeFiles/nvim.dir/ui_bridge.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [323/359] Building C object src/nvim/CMakeFiles/nvim.dir/tag.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c: In function ‘test_for_static’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c:2521:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2521 | static bool test_for_static(tagptrs_T *tagp)
- | ^~~~~~~~~~~~~~~
- In file included from /usr/include/string.h:535,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c:11:
- In function ‘strcpy’,
- inlined from ‘find_tagfunc_tags’ at /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c:1204:3,
- inlined from ‘find_tags’ at /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c:1530:14:
- /usr/include/x86_64-linux-gnu/bits/string_fortified.h:79:10: warning: ‘strcpy’ offset 0 from the object at ‘_961’ is out of the bounds of referenced subobject ‘di_key’ with type ‘char_u[0:]’ at offset 0 [-Warray-bounds]
- 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option_defs.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_defs.h:28,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c:14:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/tag.c: In function ‘find_tags’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/eval/typval.h:219:12: note: subobject ‘di_key’ declared here
- 219 | char_u di_key[__VA_ARGS__]; /* Key value. */ \
- | ^~~~~~
- [324/359] Building C object src/nvim/CMakeFiles/nvim.dir/ui_client.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [325/359] Building C object src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [326/359] Building C object src/nvim/CMakeFiles/nvim.dir/search.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘inmacro’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:2667:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2667 | static int inmacro(char_u *opt, char_u *s)
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘find_next_quote’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:3964:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3964 | static int find_next_quote(char_u *line, int col, int quotechar, char_u *escape)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘get_search_pat’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:202:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 202 | char_u *get_search_pat(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘last_search_pattern’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:356:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 356 | char_u *last_search_pattern(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘last_csearch’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:417:13: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 417 | const char *last_csearch(void)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘last_csearch_forward’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:423:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 423 | int last_csearch_forward(void)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘last_csearch_until’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:428:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 428 | int last_csearch_until(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘last_search_pat’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:454:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 454 | char_u *last_search_pat(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c: In function ‘search_was_last_used’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/search.c:6016:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6016 | bool search_was_last_used(void)
- | ^~~~~~~~~~~~~~~~~~~~
- [327/359] Building C object src/nvim/CMakeFiles/nvim.dir/ui_compositor.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui_compositor.c: In function ‘ui_comp_should_draw’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui_compositor.c:115:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 115 | bool ui_comp_should_draw(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui_compositor.c: In function ‘ui_comp_mouse_focus’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui_compositor.c:290:13: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 290 | ScreenGrid *ui_comp_mouse_focus(int row, int col)
- | ^~~~~~~~~~~~~~~~~~~
- [328/359] Building C object src/nvim/CMakeFiles/nvim.dir/option.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘find_dup_item’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:719:16: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 719 | static char_u *find_dup_item(char_u *origval, const char_u *newval, uint32_t flags)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘insecure_flag’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:2145:18: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 2145 | static uint32_t *insecure_flag(win_T *const wp, int opt_idx, int opt_flags)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘find_shada_parameter’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:1909:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1909 | char_u *find_shada_parameter(int type)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_equalprg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:6199:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6199 | char_u *get_equalprg(void)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘langmap_adjust_mb’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7072:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7072 | int langmap_adjust_mb(int c)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘shortmess’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7198:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7198 | bool shortmess(int x)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_padding’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7692:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7692 | int tabstop_padding(colnr_T col, long ts_arg, long *vts)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_at’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7720:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7720 | int tabstop_at(colnr_T col, long ts, long *vts)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_start’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7746:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7746 | colnr_T tabstop_start(colnr_T col, long ts, long *vts)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_eq’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7833:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7833 | bool tabstop_eq(long *ts1, long *ts2)
- | ^~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_count’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7875:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7875 | int tabstop_count(long *ts)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘tabstop_first’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7881:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7881 | int tabstop_first(long *ts)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_sw_value_col’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7917:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7917 | long get_sw_value_col(buf_T *buf, colnr_T col)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_sw_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7888:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7888 | int get_sw_value(buf_T *buf)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_sts_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7925:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7925 | int get_sts_value(void)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_bkc_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7977:14: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7977 | unsigned int get_bkc_value(buf_T *buf)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_ve_flags’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7983:14: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7983 | unsigned int get_ve_flags(void)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_showbreak_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:7992:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 7992 | char_u *get_showbreak_value(win_T *const win)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_fileformat_force’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:8023:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 8023 | int get_fileformat_force(const buf_T *buf, const exarg_T *eap)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘default_fileformat’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:8047:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 8047 | int default_fileformat(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘skip_to_option_part’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:8096:9: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 8096 | char_u *skip_to_option_part(const char_u *p)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_scrolloff_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:8244:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 8244 | long get_scrolloff_value(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c: In function ‘get_sidescrolloff_value’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/option.c:8255:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 8255 | long get_sidescrolloff_value(win_T *wp)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- [329/359] Building C object src/nvim/CMakeFiles/nvim.dir/viml/parser/parser.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [330/359] Building C object src/nvim/CMakeFiles/nvim.dir/shada.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map_defs.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/map.h:10,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/buffer_defs.h:42,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/decoration.h:4,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/api/private/helpers.h:5,
- from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/shada.c:15:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/shada.c: In function ‘__ac_X31_hash_string’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:458:26: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 458 | static kh_inline khint_t __ac_X31_hash_string(const char *s)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/shada.c: In function ‘kh_get_bufset’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/shada.c: In function ‘kh_get_hmll_entries’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/shada.c: In function ‘kh_get_strset’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/lib/khash.h:242:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 242 | SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
- | ^~~~~~~
- [331/359] Building C object src/nvim/CMakeFiles/nvim.dir/spellfile.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spellfile.c: In function ‘node_equal’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spellfile.c:4316:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4316 | static bool node_equal(wordnode_T *n1, wordnode_T *n2)
- | ^~~~~~~~~~
- [332/359] Building C object src/nvim/CMakeFiles/nvim.dir/version.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/version.c: In function ‘has_vim_patch’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/version.c:1975:6: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1975 | bool has_vim_patch(int n)
- | ^~~~~~~~~~~~~
- [333/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/cjson/fpconv.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/cjson/fpconv.c: In function ‘strtod_buffer_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/cjson/fpconv.c:100:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 100 | static int strtod_buffer_size(const char *s)
- | ^~~~~~~~~~~~~~~~~~
- [334/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/cjson/strbuf.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/cjson/strbuf.c: In function ‘calculate_new_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/cjson/strbuf.c:134:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 134 | static int calculate_new_size(strbuf_t *s, int len)
- | ^~~~~~~~~~~~~~~~~~
- [335/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/mpack/conv.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [336/359] Building C object src/nvim/CMakeFiles/nvim.dir/syntax.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c: In function ‘syn_stack_find_entry’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c:1199:20: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1199 | static synstate_T *syn_stack_find_entry(linenr_T lnum)
- | ^~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c: In function ‘syntax_present’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c:5694:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5694 | bool syntax_present(win_T *win)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c: In function ‘get_syntax_name’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c:5771:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5771 | char_u *get_syntax_name(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c: In function ‘syn_get_sub_char’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c:5852:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5852 | int syn_get_sub_char(void)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c: In function ‘get_syntime_arg’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/syntax.c:5973:9: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 5973 | char_u *get_syntime_arg(expand_T *xp, int idx)
- | ^~~~~~~~~~~~~~~
- [337/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/mpack/object.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [338/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/mpack/rpc.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [339/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/mpack/mpack_core.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [340/359] Building C object src/nvim/CMakeFiles/nvim.dir/spell.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘soundfold_find’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:5564:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 5564 | static int soundfold_find(slang_T *slang, char_u *word)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘match_compoundrule’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:1137:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1137 | static bool match_compoundrule(slang_T *slang, char_u *compflags)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘count_syllables’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:1991:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1991 | static int count_syllables(slang_T *slang, const char_u *word)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘soundalike_score’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:6360:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6360 | static int soundalike_score(char_u *goodstart, char_u *badstart)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘spell_enc’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:1716:9: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1716 | char_u *spell_enc(void)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c: In function ‘byte_in_str’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/spell.c:1943:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 1943 | bool byte_in_str(char_u *str, int n)
- | ^~~~~~~~~~~
- [341/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xemit.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [342/359] Building C object src/nvim/CMakeFiles/nvim.dir/ui.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_rgb_attached’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:147:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 147 | bool ui_rgb_attached(void)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_override’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:161:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 161 | bool ui_override(void)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_active’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:171:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 171 | bool ui_active(void)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_pum_get_height’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:254:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 254 | int ui_pum_get_height(void)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_current_row’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:496:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 496 | int ui_current_row(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_current_col’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:501:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 501 | int ui_current_col(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_cursor_grid’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:506:10: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 506 | handle_T ui_cursor_grid(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c: In function ‘ui_has’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/ui.c:613:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 613 | bool ui_has(UIExtension ext)
- | ^~~~~~
- [343/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xpatience.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xpatience.c: In function ‘binary_search’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xpatience.c:175:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 175 | static int binary_search(struct entry **sequence, int longest,
- | ^~~~~~~~~~~~~
- [344/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/mpack/lmpack.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [345/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xhistogram.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [346/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xprepare.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [347/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xdiffi.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [348/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/cjson/lua_cjson.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [349/359] Building C object src/nvim/CMakeFiles/nvim.dir/__/xdiff/xutils.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_bogosqrt’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:26:6: warning: function might be candidate for attribute ‘const’ if it is known to return normally [-Wsuggest-attribute=const]
- 26 | long xdl_bogosqrt(long n) {
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_mmfile_size’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:68:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 68 | long xdl_mmfile_size(mmfile_t *mmf)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_guess_lines’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:121:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 121 | long xdl_guess_lines(mmfile_t *mf, long sample) {
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_blankline’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:142:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 142 | int xdl_blankline(const char *line, long size, long flags)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_recmatch’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:173:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 173 | int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c: In function ‘xdl_hashbits’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/xdiff/xutils.c:313:14: warning: function might be candidate for attribute ‘const’ if it is known to return normally [-Wsuggest-attribute=const]
- 313 | unsigned int xdl_hashbits(unsigned int size) {
- | ^~~~~~~~~~~~
- [350/359] Building C object src/nvim/CMakeFiles/nvim.dir/undo.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [351/359] Building C object src/nvim/CMakeFiles/nvim.dir/screen.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘win_signcol_width’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:1742:5: warning: function might be candidate for attribute ‘const’ [-Wsuggest-attribute=const]
- 1742 | int win_signcol_width(win_T *wp)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘stl_connected’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:5282:6: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 5282 | bool stl_connected(win_T *wp)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘grid_invalid_row’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:6449:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6449 | bool grid_invalid_row(ScreenGrid *grid, int row)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘get_win_by_grid_handle’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:7614:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7614 | win_T *get_win_by_grid_handle(handle_T handle)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘grid_lefthalve’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:5712:6: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5712 | bool grid_lefthalve(ScreenGrid *grid, int row, int col)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c: In function ‘grid_fix_col’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/screen.c:5722:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 5722 | int grid_fix_col(ScreenGrid *grid, int col, int row)
- | ^~~~~~~~~~~~
- [352/359] Building C object src/nvim/CMakeFiles/nvim.dir/window.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘alt_tabpage’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:3308:19: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3308 | static tabpage_T *alt_tabpage(void)
- | ^~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_altframe’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:3254:17: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3254 | static frame_T *win_altframe(win_T *win, tabpage_T *tp)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘frame_minheight’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:3749:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3749 | static int frame_minheight(frame_T *topfrp, win_T *next_curwin)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘frame_minwidth’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:3795:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3795 | static int frame_minwidth(frame_T *topfrp, win_T *next_curwin)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘get_snapshot_curwin_rec’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:6837:15: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6837 | static win_T *get_snapshot_curwin_rec(frame_T *ft)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘get_snapshot_curwin’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:6856:15: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6856 | static win_T *get_snapshot_curwin(int idx)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘prevwin_curwin’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:111:8: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 111 | win_T *prevwin_curwin(void)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘check_snapshot_rec’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:6890:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 6890 | static int check_snapshot_rec(frame_T *sn, frame_T *fr)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_count’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:1665:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 1665 | int win_count(void)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘frame2win’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:3326:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 3326 | win_T *frame2win(frame_T *frp)
- | ^~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘valid_tabpage_win’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4182:5: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4182 | int valid_tabpage_win(tabpage_T *tpc)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘find_tabpage’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4223:12: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 4223 | tabpage_T *find_tabpage(int n)
- | ^~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘tabpage_index’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4238:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 4238 | int tabpage_index(tabpage_T *ftp)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_find_tabpage’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4591:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4591 | tabpage_T *win_find_tabpage(win_T *win)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_vert_neighbor’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4610:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4610 | win_T *win_vert_neighbor(tabpage_T *tp, win_T *wp, bool up, long count)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_horz_neighbor’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:4693:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4693 | win_T *win_horz_neighbor(tabpage_T *tp, win_T *wp, bool left, long count)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘global_stl_height’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:6691:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 6691 | int global_stl_height(void)
- | ^~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘lastwin_nofloating’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:7267:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7267 | win_T *lastwin_nofloating(void)
- | ^~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c: In function ‘win_id2wp’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/window.c:7170:8: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 7170 | win_T *win_id2wp(int id)
- | ^~~~~~~~~
- [353/359] Building C object src/nvim/CMakeFiles/nvim.dir/viml/parser/expressions.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- [354/359] Building C object src/nvim/CMakeFiles/nvim.dir/regexp.c.o
- <command-line>: warning: "_FORTIFY_SOURCE" redefined
- <built-in>: note: this is the location of the previous definition
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c:2216:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘nfa_get_reganch’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_nfa.c:398:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 398 | static int nfa_get_reganch(nfa_state_T *start, int depth)
- | ^~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘nfa_get_regstart’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_nfa.c:455:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 455 | static int nfa_get_regstart(nfa_state_T *start, int depth)
- | ^~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘nfa_recognize_char_class’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_nfa.c:588:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 588 | static int nfa_recognize_char_class(char_u *start, char_u *end, int extra_newl)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘match_follows’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_nfa.c:4020:13: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4020 | static bool match_follows(const nfa_state_T *startstate, int depth)
- | ^~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘failure_chance’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_nfa.c:4996:12: warning: function might be candidate for attribute ‘pure’ if it is known to return normally [-Wsuggest-attribute=pure]
- 4996 | static int failure_chance(nfa_state_T *state, int depth)
- | ^~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘re_multiline’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c:377:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 377 | int re_multiline(const regprog_T *prog)
- | ^~~~~~~~~~~~
- In file included from /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c:2215:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: In function ‘vim_regcomp_had_eol’:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp_bt.c:2451:5: warning: function might be candidate for attribute ‘pure’ [-Wsuggest-attribute=pure]
- 2451 | int vim_regcomp_had_eol(void)
- | ^~~~~~~~~~~~~~~~~~~
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c: At top level:
- /home/nihi1ist/.src/neovim/0.7.2/neovim-0.7.2/src/nvim/regexp.c:2079:9: warning: function might be candidate for attribute ‘malloc’ [-Wsuggest-attribute=malloc]
- 2079 | char_u *reg_submatch(int no)
- | ^~~~~~~~~~~~
- [355/359] Linking C executable bin/nvim
- [356/359] Generating pack/dist/opt/matchit/doc/tags
- [357/359] Generating pack/dist/opt/vimball/doc/tags
- [358/359] Generating syntax/vim/generated.vim
- [359/359] Generating doc/tags
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement