Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 02:40:23 GMT
From:      deeptech71 <deeptech71@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174285: the xmlrpc-c-devel port fails to compile with Clang 3.2
Message-ID:  <201212090240.qB92eN0R083981@red.freebsd.org>
Resent-Message-ID: <201212090250.qB92o0e9054746@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174285
>Category:       ports
>Synopsis:       the xmlrpc-c-devel port fails to compile with Clang 3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 09 02:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     deeptech71
>Release:        -CURRENT
>Organization:
>Environment:
FreeBSD  10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243867M: Wed Dec  5 02:50:19 CET 2012     root@:/usr/obj/usr/src/sys/HQ  i386


FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
Target: i386-unknown-freebsd10.0
Thread model: posix
>Description:
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));
>How-To-Repeat:

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

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212090240.qB92eN0R083981>