From owner-freebsd-current@FreeBSD.ORG Tue Nov 12 16:32:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B74297DD for ; Tue, 12 Nov 2013 16:32:25 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 813012A42 for ; Tue, 12 Nov 2013 16:32:25 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id rACGWJUu002846 for ; Tue, 12 Nov 2013 08:32:19 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id rACGWJsk002845 for freebsd-current@freebsd.org; Tue, 12 Nov 2013 08:32:19 -0800 (PST) (envelope-from sgk) Date: Tue, 12 Nov 2013 08:32:19 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: Are clang++ and libc++ compatible? Message-ID: <20131112163219.GA2834@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 16:32:25 -0000 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