Bug 174285

Summary: net/xmlrpc-c-devel fails to compile with Clang 3.2
Product: Ports & Packages Reporter: deeptech71 <deeptech71>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description deeptech71@gmail.com 2012-12-09 02:50:00 UTC
At the time of this writing, the imported (base) version of Clang (3.2) has a bug which surfaces during the building of the xmlrpc-c-devel port:

value.cpp:238:28: error: redefinition of 'datetime4'
            value_datetime datetime4(value_int(4));

Fix: 

For now, simply rename the 2nd ``datetime4'' variable (eg. use ``another_datetime4'') to work around the compiler bug.

Additionally, someone on #llvm on irc.oftc.net said that this bug "was fixed in trunk about 3-4 weeks ago". The fixing patch can be searched for and backported into the base Clang.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-09 17:06:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2012-12-17 16:23:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!