[vlc-devel] commit: filter_t: use struct of non-anymous unions, seems more portable ( Rémi Denis-Courmont )

Rémi Denis-Courmont remi at remlab.net
Wed Jan 27 11:28:25 CET 2010


On Tue, 26 Jan 2010 20:11:02 +0100, Laurent Aimar <fenrir at via.ecp.fr>
wrote:
>  Why using unions at all (I don't really mind them, but it makes the .h
> harder to read and it adds a lot of potentially harmfull defines)?

The defines are not really a risk here. They will pretty much always cause
a big compilation error if they ever clash with something, as identifiers
can't contain dots.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list