[MacPorts] #70272: pwlib fails to build: error: expected ‘;’ before ‘*’ token
MacPorts
noreply at macports.org
Fri Jun 21 23:35:12 UTC 2024
#70272: pwlib fails to build: error: expected ‘;’ before ‘*’ token
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: pwlib
--------------------------+--------------------
{{{
:info:build make[2]: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/src/ptlib/unix'
:info:build c++ -DP_MACOSX=1000d2 -DNO_LONG_DOUBLE -D_REENTRANT -Wall -g
-D_DEBUG -DPMEMORY_CHECK=1 -DPHAS_TEMPLATES
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix
-I/usr/include/pwlib -I/opt/local/include
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include
-fno-common -dynamic -DPTRACING=1 -I/opt/local/include -x c++ -c
../../ptclib/asner.cxx -o
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/lib/obj_Darwin_ppc_d/asner.o
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/qchannel.cxx:40:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/modem.cxx:51:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/ipacl.cxx:75:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/delaychan.cxx:50:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/asner.cxx:290:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:222,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:139,
:info:build from ../../ptclib/asner.cxx:290:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:
In constructor ‘PNotifierFunction::PNotifierFunction(void*)’:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/object.h:2143:
warning: the address of ‘obj’ will always evaluate as ‘true’
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/timer.h:65,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:156,
:info:build from ../../ptclib/modem.cxx:51:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:
At global scope:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: ISO C++ forbids declaration of ‘PTimerList’ with no type
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: expected ‘;’ before ‘*’ token
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/timer.h:65,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:156,
:info:build from ../../ptclib/qchannel.cxx:40:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:
At global scope:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: ISO C++ forbids declaration of ‘PTimerList’ with no type
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: expected ‘;’ before ‘*’ token
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/timer.h:65,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:156,
:info:build from ../../ptclib/ipacl.cxx:75:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:
At global scope:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: ISO C++ forbids declaration of ‘PTimerList’ with no type
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: expected ‘;’ before ‘*’ token
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/timer.h:65,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:156,
:info:build from ../../ptclib/delaychan.cxx:50:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:
At global scope:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: ISO C++ forbids declaration of ‘PTimerList’ with no type
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../timer.h:351:
error: expected ‘;’ before ‘*’ token
:info:build In file included from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pprocess.h:782,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/pprocess.h:132,
:info:build from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib.h:192,
:info:build from ../../ptclib/modem.cxx:51:
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/pprocess.h:181:
error: ISO C++ forbids declaration of ‘PHouseKeepingThread’ with no type
:info:build
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_pwlib/pwlib/work/pwlib/include/ptlib/unix/ptlib/pprocess.h:181:
error: expected ‘;’ before ‘*’ token
}}}
Same error with gcc13.
--
Ticket URL: <https://trac.macports.org/ticket/70272>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list