Opened 9 years ago

Closed 9 years ago

#47915 closed defect (fixed)

certsync @1.1.3: error: lvalue required as unary ?&? operand

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: neverpanic (Clemens Lang)
Port: certsync

Description

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 "&".

Attachments (1)

certsync.main.log (6.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: certsync.main.log added

comment:1 Changed 9 years ago by neverpanic (Clemens Lang)

Argh, legacy systems.

We should revert this part of the patch then.

comment:2 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

See #48028 (which is a duplicate of this), which fixes this.

Note: See TracTickets for help on using tickets.