Date: Tue, 3 Nov 2015 10:50:46 +0100 From: Hans Petter Selasky <hps@selasky.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290328 - in head/sys/dev/usb: . wlan Message-ID: <56388376.7080903@selasky.org> In-Reply-To: <201511030938.tA39cent077651@repo.freebsd.org> References: <201511030938.tA39cent077651@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56388376.7080903>