Build failure in Tiny (scroll_dict undefined at window.c:3137:27) after applying patches 9.0. 925 to 928

3 views
Skip to first unread message

Tony Mechelynck

unread,
Nov 23, 2022, 8:56:20 AM11/23/22
to Bram Moolenaar, vim_dev
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
-Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1 -o objects/window.o window.c
window.c: In function ‘may_trigger_win_scrolled_resized’:
window.c:3137:27: error: ‘scroll_dict’ undeclared (first use in this
function); did you mean ‘scroll_start’?
3137 | if (trigger_scroll && scroll_dict != NULL)
| ^~~~~~~~~~~
| scroll_start
window.c:3137:27: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [Makefile:3511: objects/window.o] Error 1

Best regards,
Tony.

Bram Moolenaar

unread,
Nov 23, 2022, 9:34:14 AM11/23/22
to vim...@googlegroups.com, Tony Mechelynck

Tony wrote:

> gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
> -Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=3D1 -o objects/window.o window.c
> window.c: In function =E2=80=98may_trigger_win_scrolled_resized=E2=80=99:
> window.c:3137:27: error: =E2=80=98scroll_dict=E2=80=99 undeclared (first us=
> e in this
> function); did you mean =E2=80=98scroll_start=E2=80=99?
> 3137 | if (trigger_scroll && scroll_dict !=3D NULL)
> | ^~~~~~~~~~~
> | scroll_start
> window.c:3137:27: note: each undeclared identifier is reported only
> once for each function it appears in
> make: *** [Makefile:3511: objects/window.o] Error 1

Patch 9.0.0929 fixes this.

--
"A clear conscience is usually the sign of a bad memory."
-- Steven Wright

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages