[MacPorts] #17090: apr 1.3.3 doesn't compile universal x86_64+i386
MacPorts
noreply at macports.org
Wed Nov 5 05:16:37 PST 2008
#17090: apr 1.3.3 doesn't compile universal x86_64+i386
---------------------------------+------------------------------------------
Reporter: pguyot at kallisys.net | Owner: dluke at geeklair.net
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: apr
---------------------------------+------------------------------------------
When compiling apr +universal with the default targets set to i386 and
x86_64, I get the following compilation error:
{{{
strings/apr_snprintf.c: In function 'conv_os_thread_t':
strings/apr_snprintf.c:500: error: duplicate case value
strings/apr_snprintf.c:498: error: previously used here
strings/apr_snprintf.c: In function 'conv_os_thread_t_hex':
strings/apr_snprintf.c:671: error: duplicate case value
strings/apr_snprintf.c:669: error: previously used here
}}}
In fact, I'm wondering if apr compiles on 64bits at all. The lines go like
this:
{{{
case sizeof(apr_int32_t):
return conv_10(u.u32, TRUE, &is_negative, buf_end, len);
case sizeof(apr_int64_t):
return conv_10_quad(u.u64, TRUE, &is_negative, buf_end, len);
}}}
This is on 10.5.5/x86.
--
Ticket URL: <http://trac.macports.org/ticket/17090>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list