From owner-svn-src-head@freebsd.org Tue Nov 3 09:49:03 2015 Return-Path: Delivered-To: svn-src-head@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 24092A1EF87; Tue, 3 Nov 2015 09:49:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 DCE011FC6; Tue, 3 Nov 2015 09:49:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CED091FE023; Tue, 3 Nov 2015 10:48:59 +0100 (CET) Subject: Re: svn commit: r290328 - in head/sys/dev/usb: . wlan To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201511030938.tA39cent077651@repo.freebsd.org> From: Hans Petter Selasky Message-ID: <56388376.7080903@selasky.org> Date: Tue, 3 Nov 2015 10:50:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <201511030938.tA39cent077651@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 09:49:03 -0000 On 11/03/15 10:38, Hans Petter Selasky wrote: > Author: hselasky > Date: Tue Nov 3 09:38:39 2015 > New Revision: 290328 > URL: https://svnweb.freebsd.org/changeset/base/290328 > > Log: > Revert r290327. The compiler warnings seems to be specific to clang v3.5 only. > > > Modified: head/sys/dev/usb/wlan/if_zyd.c > ============================================================================== > --- head/sys/dev/usb/wlan/if_zyd.c Tue Nov 3 08:52:06 2015 (r290327) > +++ head/sys/dev/usb/wlan/if_zyd.c Tue Nov 3 09:38:39 2015 (r290328) > @@ -703,14 +703,14 @@ zyd_intr_read_callback(struct usb_xfer * > memcpy(rqp->odata, cmd->data, rqp->olen); > DPRINTF(sc, ZYD_DEBUG_CMD, > "command %p complete, data = %*D \n", > - rqp, rqp->olen, (unsigned char *)rqp->odata, ":"); > + rqp, rqp->olen, (char *)rqp->odata, ":"); Hi, There seems to be a difference in the clang compiler in ports and the one in base with regard to how it handles %*D and %6D. Adding WITHOUT_FORMAT_EXTENSIONS=YES to make resolves this compile error when using clang from ports however ... --HPS