Bug 174285 - net/xmlrpc-c-devel fails to compile with Clang 3.2
Summary: net/xmlrpc-c-devel fails to compile with Clang 3.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-09 02:50 UTC by deeptech71@gmail.com
Modified: 2012-12-17 16:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!