[MacPorts] #63280: xfractint @20.04p14_0: build error: implicit declaration of function 'xpopup' is invalid in C99
MacPorts
noreply at macports.org
Thu Jul 22 09:29:20 UTC 2021
#63280: xfractint @20.04p14_0: build error: implicit declaration of function
'xpopup' is invalid in C99
--------------------------+-----------------------
Reporter: juliangilbey | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: xfractint
--------------------------+-----------------------
The compilation of this port failed with the following error message (in
the log file):
{{{
:info:build /usr/bin/clang -I../headers -I./headers -DXFRACT -DWITH_XFT
-DNOBST
RING -g -DBIG_ANSI_C -DLINUX -fno-builtin -I/opt/local/include/X11 -O2
-c -o
encoder.o encoder.c
:info:build encoder.c:162:7: error: implicit declaration of function
'xpopup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build xpopup(cmd);
:info:build ^
:info:build 1 error generated.
}}}
This is due to missing #include directives in both encoder.c and
realdos.c. A patch is (or soon will be) attached that fixes this.
--
Ticket URL: <https://trac.macports.org/ticket/63280>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list