pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/net/xorp
On Tue, Jul 03, 2012 at 05:36:10PM +0000, Joerg Sonnenberger wrote:
> Modified Files:
> pkgsrc/net/xorp: Makefile distinfo
> pkgsrc/net/xorp/patches: patch-libxorp_xorp.h
> Added Files:
> [...]
>
> Log Message:
> Fix a number of issues found by clang:
> - missing this references to ensure template functions are found
> - using == as assignment
> - unused functions in lex sources
> - adding integers to strings instead of formatting them
> - class vs struct mismatches
port.cc: In member function 'void Port<A>::port_io_receive(const A&,
__uint16_t, const __uint8_t*, size_t)':
port.cc:785:5: error: conflicting declaration 'typedef char
static_assertion__LINE__ [((class PacketRouteEntry<A>::SIZE == 20) ? 1 : (-1))]'
port.cc:784:5: error: 'static_assertion__LINE__' has a previous declaration as
'typedef char static_assertion__LINE__ [1]'
I haven't looked at the source file yet, but it very much smells like
either gcc or clang's cpp is broke.
(Also, two of the patches for celestia fail checksum.)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index