Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 08:32:19 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   Are clang++ and libc++ compatible?
Message-ID:  <20131112163219.GA2834@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Trying to build news/pan with clang++ dies with

gmake[3]: Entering directory `/usr/ports/news/pan/work/pan-0.139/pan/general'
  CXX    file-util.o
In file included from file-util.cc:38:
In file included from ./log.h:26:
/usr/include/c++/v1/deque:907:49: error: invalid application of 'sizeof' to an
      incomplete type 'value_type' (aka 'pan::Log::Entry')
    static const difference_type __block_size = sizeof(value_type) < 256 ? 4...

Anyone know how to fix either clang++ or libc++?

-- 
Steve



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