svn commit: r290328 - in head/sys/dev/usb: . wlan

Hans Petter Selasky hps at selasky.org
Tue Nov 3 09:49:03 UTC 2015


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



More information about the svn-src-head mailing list