[vlc-devel] [PATCH] Make cached module configuration on 64 bits work again
Rémi Denis-Courmont
remi at remlab.net
Thu Jan 24 17:08:57 CET 2013
Le jeudi 24 janvier 2013 15:27:07, Rafaël Carré a écrit :
> > The bit fields containing b->removed
> > etc. where not cached this way. That was also the reason for the qt
> > expert configuration dialog when it came across "removed" configuration
> > items (which where not recognized as removed by parsing plugins.dat).
> >
> > Making the i_flags 64 bits large on 64 bit compilation resolves that.
>
> How can we know on which platforms this happens, only by experimentation?
It seems the compiler is free to use any integer type to store the bits fields.
Expanding the size of the integer in the union cannot fix the problem in the
general case. A more involved/smarter fix is required.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list