[MacPorts] #39926: webkit-gtk 2.0.4 upgrade error: excess elements in struct initializer
MacPorts
noreply at macports.org
Wed Jul 31 08:31:28 PDT 2013
#39926: webkit-gtk 2.0.4 upgrade error: excess elements in struct initializer
-------------------------+------------------------
Reporter: deesto@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: webkit-gtk |
-------------------------+------------------------
Comment (by jeremyhu@…):
{{{
/opt/local/bin/clang++-mp-3.3 -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align
-Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k
-Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-
unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__
-DBUILDING_GTK__ -I./Source -I./Source/WTF -I./Source/WTF/wtf
-DGTEST_USE_OWN_TR1_TUPLE=1 -fno-rtti -fstrict-aliasing -O3 -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include -pipe -Os -Wno-c++11-extensions
-arch x86_64 -Wno-c++11-compat -O2 -MT Source/WTF/wtf/libWTF_la-
GregorianDateTime.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-
GregorianDateTime.Tpo -c Source/WTF/wtf/GregorianDateTime.cpp -fno-common
-DPIC -o Source/WTF/wtf/.libs/libWTF_la-GregorianDateTime.o
Source/WTF/wtf/FastMalloc.cpp:4927:7: error: excess elements in struct
initializer
, 0, 0, 0, 0 // These members will not be used unless the zone
advertises itself as version seven or higher.
^
}}}
That seems to indicate that you're using an <Availability.h> from >= Lion
and <malloc/malloc.h> from SnowLeopard.
It looks like you're on SnowLeopard, so the issue is that you have a newer
<Availability.h> than you should have... probably because of the
installation of the CarbonHeaders port.
I *STRONGLY* disapprove of these ports (CarbonHeaders, libc-headers, etc)
and will not fix this issue.
--
Ticket URL: <https://trac.macports.org/ticket/39926#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list