r247835: drm2 code breaks buildkernel

Jean-Sébastien Pédron jean-sebastien.pedron at dumbbell.fr
Tue Mar 5 16:40:41 UTC 2013


On 05.03.2013 16:37, Konstantin Belousov wrote:
> The patch below is supposed to fix double declaration (it is pathetic that
> clang silently accepts this, while issuing countless useless warnings).
> Also there is a usual workaround for the anonimous union/struct issue.

What do you think about "-fms-extensions"? It avoids modifications to
the code and works with both gcc and clang.

There're several unnamed structs/unions in the radeon code too. I would
like to keep the diff with Linux code as small as possible.

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130305/aedaf2ff/attachment.sig>


More information about the freebsd-current mailing list