[vlc-devel] [vlc-commits] commit: Contribs: force gnu99 for FFmpeg and fix compilation ( Jean-Baptiste Kempf )

Grigori Goronzy greg at chown.ath.cx
Mon Aug 9 15:54:55 CEST 2010


On 08/09/2010 01:28 PM, Rémi Denis-Courmont wrote:
> 
> On Mon,  9 Aug 2010 13:25:21 +0200 (CEST), git at videolan.org wrote:
>> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug  9
>> 13:23:06 2010 +0200| [b9c5a440d6458b9b2e50450293b9aa3e20865ad6] |
>> committer: Jean-Baptiste Kempf
>>
>> Contribs: force gnu99 for FFmpeg and fix compilation
>>
>> For somewhat reason, on debian's (and arch's) mingw, strcasecmp isn't
>> defined in c99
> 
> MingW works as specified. strcasecmp() is not part of the ISO C standard.
> 

You have to enable POSIX things explicitly in c99 mode, for example with
"#define _XOPEN_SOURCE 600" - see features.h. It should be the same on
all glibc systems. This recently bit me. :)

Grigori



More information about the vlc-devel mailing list