After patches 2407 to 2409 (+ runtime files) build error in Big and Normal (but not in Huge, Small and Tiny)

7 views
Skip to first unread message

Tony Mechelynck

unread,
Jan 25, 2021, 4:35:43 PM1/25/21
to Bram Moolenaar, vim_dev
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0 -I/usr/include/libxkbcommon
-I/usr/include/wayland -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2
-fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-o objects/vim9compile.o vim9compile.c
In file included from vim9compile.c:15:0:
vim9compile.c: In function ‘generate_CALL’:
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:1778:34: note: in expansion of macro ‘PROFILING’
if (func_needs_compiling(ufunc, PROFILING(ufunc))
^~~~~~~~~
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:1780:13: note: in expansion of macro ‘PROFILING’
PROFILING(ufunc), NULL) == FAIL)
^~~~~~~~~
vim9compile.c: In function ‘generate_funcref’:
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:2618:37: note: in expansion of macro ‘PROFILING’
if (func_needs_compiling(ufunc, PROFILING(ufunc))
^~~~~~~~~
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:2619:43: note: in expansion of macro ‘PROFILING’
&& compile_def_function(ufunc, TRUE, PROFILING(ufunc), NULL)
^~~~~~~~~
vim9compile.c: In function ‘compile_lambda’:
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:3114:39: note: in expansion of macro ‘PROFILING’
compile_def_function(ufunc, TRUE, PROFILING(ufunc), cctx);
^~~~~~~~~
vim9compile.c: In function ‘compile_nested_function’:
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:5091:37: note: in expansion of macro ‘PROFILING’
if (func_needs_compiling(ufunc, PROFILING(ufunc))
^~~~~~~~~
vim.h:1429:16: error: called object is not a function or function pointer
# define FALSE 0 // note: this is an int, not a long!
^
vim9.h:418:20: note: in expansion of macro ‘FALSE’
# define PROFILING FALSE
^~~~~
vim9compile.c:5092:43: note: in expansion of macro ‘PROFILING’
&& compile_def_function(ufunc, TRUE, PROFILING(ufunc), cctx)
^~~~~~~~~
make: *** [Makefile:3548: objects/vim9compile.o] Error 1
exit status 2
Mon 25 Jan 22:22:07 CET 2021



Best regards,
Tony.

Bram Moolenaar

unread,
Jan 25, 2021, 5:05:05 PM1/25/21
to vim...@googlegroups.com, Tony Mechelynck

Tony wrote:

> In file included from vim9compile.c:15:0:
> vim9compile.c: In function ‘generate_CALL’:
> vim.h:1429:16: error: called object is not a function or function pointer
> # define FALSE 0 // note: this is an int, not a long!
> ^
> vim9.h:418:20: note: in expansion of macro ‘FALSE’
> # define PROFILING FALSE

Ah, forgot the dummy argument. Patch coming...


--
hundred-and-one symptoms of being an internet addict:
241. You try to look for Net Search even when you're in File Manager.

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