At patchlevel 9.1.1652:
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2
-fno-strength-reduce -Wall -Wno-deprecated-declarations -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/clientserver.o
clientserver.c
In function ‘cmdsrv_main’,
inlined from ‘exec_on_server’ at clientserver.c:233:2:
clientserver.c:458:16: warning: ‘ret’ may be used uninitialized
[-Wmaybe-uninitialized]
458 | if (ret < 0)
| ^
clientserver.c: In function ‘exec_on_server’:
clientserver.c:333:17: note: ‘ret’ was declared here
333 | int ret;
| ^~~
The configuration for this build is as follows:
#!/bin/bash
export CONF_OPT_GUI='--enable-gui=motif'
export CONF_OPT_X='--without-wayland'
export CONF_OPT_MULTIBYTE='--enable-multibyte'
export CONF_OPT_AUTOSERVE='--enable-autoservername'
export CONF_OPT_SODIUM='--enable-libsodium'
export CONF_OPT_FEAT='--with-features=normal'
export CONF_ARGS2='--with-vim-name=vim-normal'
export CONF_OPT_COMPBY='"[email protected]"'
I haven't checked whether or not the same warning occurs in Huge and
Tiny builds.
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/CAJkCKXsx9JvpmibvikZeCtfjC3XQnkqWV_EjjLu99sf%3Dq%3DKrJw%40mail.gmail.com.