[MacPorts] #63600: vim @8.2.2681: +tiny and +small will not compile
MacPorts
noreply at macports.org
Sat Oct 9 10:58:30 UTC 2021
#63600: vim @8.2.2681: +tiny and +small will not compile
------------------------+----------------------
Reporter: evanmiller | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: vim
------------------------+----------------------
This appears to be a bug in the vim source, rather than in anything to do
with MacPorts. Some functions / structs that rely on {{{FEAT_EVAL}}} are
called from vim9script.c even when {{{FEAT_EVAL}}} is not defined.
{{{
:info:build /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -I. -Iproto
-DHAVE_CONFIG_H -I/opt/local/include -DMACOS_X -DMACOS_X_DARWIN -pipe
-Os -arch ppc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o
objects/vim9script.o vim9script.c
:info:build vim9script.c: In function 'current_script_is_vim9':
:info:build vim9script.c:41: warning: implicit declaration of function
'SCRIPT_ID_VALID'
:info:build vim9script.c:41: error: 'sctx_T' has no member named 'sc_sid'
:info:build vim9script.c:42: warning: implicit declaration of function
'SCRIPT_ITEM'
:info:build vim9script.c:42: error: 'sctx_T' has no member named 'sc_sid'
:info:build vim9script.c:42: error: invalid type argument of '->'
:info:build make[1]: *** [objects/vim9script.o] Error 1
}}}
+normal and larger sizes are not affected.
--
Ticket URL: <https://trac.macports.org/ticket/63600>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list