SVN r258549 breaks -current compiled with gcc

Michael Butler imb at protected-networks.net
Mon Nov 25 14:50:32 UTC 2013


-----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-----


More information about the freebsd-current mailing list