[MacPorts] #47915: certsync @1.1.3: error: lvalue required as unary ?&? operand
MacPorts
noreply at macports.org
Mon Jun 1 05:03:07 PDT 2015
#47915: certsync @1.1.3: error: lvalue required as unary ?&? operand
--------------------------+-----------------------
Reporter: ryandesign@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: certsync
--------------------------+-----------------------
certsync @1.1.3 fails to build on Mac OS X 10.5:
{{{
---> Building certsync
DEBUG: Executing org.macports.build (certsync)
certsync.m: In function ?GetCertSubject?:
certsync.m:110: error: lvalue required as unary ?&? operand
certsync.m:115: error: lvalue required as unary ?&? operand
certsync.m: In function ?ValidateSystemTrust?:
certsync.m:161: error: lvalue required as unary ?&? operand
certsync.m: In function ?exportCertificates?:
certsync.m:492: error: lvalue required as unary ?&? operand
Command failed: /usr/bin/gcc-4.2 -Os -mmacosx-version-min=10.4 -Wall
certsync.m -o certsync -L/mp/lib -Wl,-headerpad_max_install_names -arch
ppc -framework Foundation -framework Security -framework CoreServices
}}}
This is a regression; 1.1.2 built ok on 10.5.
I assume this is a consequence of r136958. gcc-4.2 considers the "&" an
error, while clang apparently issues a warning in the absence of the "&".
--
Ticket URL: <https://trac.macports.org/ticket/47915>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list