[MacPorts] #74414: libevent @2.1.13 does not build on PPC Mac OS X 10.5.8, Leopard, because of error: #pragma GCC diagnostic not allowed inside functions
MacPorts
noreply at macports.org
Fri Sep 11 15:51:47 UTC 2026
#74414: libevent @2.1.13 does not build on PPC Mac OS X 10.5.8, Leopard, because of
error: #pragma GCC diagnostic not allowed inside functions
-------------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.6
Keywords: ppc leopard | Port: libevent
-------------------------+----------------------
{{{
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
-I./compat -I./include -I./include -I/opt/local/include -pipe -Os -arch
ppc -Wall -fno-strict-aliasing -Wno-deprecated-declarations -D_THREAD_SAFE
-W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-
prototypes -Wwrite-strings -Wredundant-decls -Wmissing-declarations
-Wnested-externs -Wbad-function-cast -Wno-unused-parameter -Wstrict-
aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-
statement -Waddress -Wnormalized=id -Woverride-init -MT event.lo -MD -MP
-MF .deps/event.Tpo -c event.c -fno-common -DPIC -o .libs/event.o
event.c: In function 'event_signal_closure':
event.c:1358: error: #pragma GCC diagnostic not allowed inside functions
event.c:1362: error: #pragma GCC diagnostic not allowed inside functions
event.c:1393: error: #pragma GCC diagnostic not allowed inside functions
make[1]: *** [event.lo] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/libevent-
880acc52/work/libevent-2.1.13-stable'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74414>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list