From owner-freebsd-toolchain@freebsd.org Fri Oct 21 13:09:55 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F04CC1B086 for ; Fri, 21 Oct 2016 13:09:55 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B344C61; Fri, 21 Oct 2016 13:09:55 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id DC0392B066; Fri, 21 Oct 2016 15:09:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djxIqck8AW2i; Fri, 21 Oct 2016 15:09:51 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 1577C2B065; Fri, 21 Oct 2016 15:09:51 +0200 (CEST) To: Dimitry Andric , FreeBSD Toolchain From: Willem Jan Withagen Subject: Seeking help with some Clang trouble, compiling ceph Message-ID: Date: Fri, 21 Oct 2016 15:09:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 13:09:55 -0000 Hi, All this Ceph stuff finally used to compile under FreeBSD. And all testss completed correctly. But somewhere in the Ceph-tree there was a lot of template and trait code added/replaced. Problem is that this compiles under GCC, but Clang throws an error. It looks like it cannot select types of automagic conversion. But this template/trait stuff is too much for me to wrap my head around. I'm reading up a lot, but that does not yet get me anywhere. So I was wondering if anybody with more C++ knowledge would like to assist and give some clues as to how to fix this. The error report is at: http://cephdev.digiware.nl:8180/jenkins/job/ceph-freebsd/39/consoleFull And the ceph code can be found at: https://github.com/ceph/ceph --WjW