Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 09:50:29 -0500
From:      Michael Butler <imb@protected-networks.net>
To:        =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>,  freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: SVN r258549 breaks -current compiled with gcc
Message-ID:  <529363B5.8020207@protected-networks.net>
In-Reply-To: <5293628A.6080508@FreeBSD.org>
References:  <52935B26.9010105@protected-networks.net> <5293628A.6080508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/25/13 09:45, Jean-Sébastien Pédron wrote:
> On 25.11.2013 15:13, Michael Butler wrote:
>> --- drm_linux_list_sort.o ---
>> cc1: warnings being treated as errors
>> /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_linux_list_sort.c:
>> In function 'drm_le_cmp':
>> /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_linux_list_sort.c:45:
>> warning: cast discards qualifiers from pointer target type
> 
> Hello!
> 
> Can you try the attached patch?
> 
> I got rid of __DECONST() because clang didn't complain, sorry...

That fixed it - thanks! :-)

	imb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlKTY7UACgkQQv9rrgRC1JKqEgCgoMTBkjDdNrrA94Jry1lOKB30
Sk4AoKiaOo8ZPyEAxR2FxjAbpbRHpw6v
=fcGs
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?529363B5.8020207>