[vlc-devel] Can not declare variably modified type at file scope

Rémi Denis-Courmont remi at remlab.net
Sat Jan 30 20:20:38 CET 2010


Le samedi 30 janvier 2010 21:01:14 Francois Cartegnie, vous avez écrit :
> VOUT_MAX_SUBPICTURES value is not defined locally. [1][2]

As far as I know VOUT_MAX_SUBPICTURES is expanded to:
((16) > (((mtime_t)(0.5*1000000LL)))) ? (16) : (((mtime_t)(0.5*1000000LL)))
which seems to me like a valid integer constant expression as defined by
ISO/IEC 9899:1999 Technical Corrigendum 3 §6.6. Is it not?

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



More information about the vlc-devel mailing list