[FFmpeg-devel] [PATCH][RFC] -std=c99
Thu Aug 21 17:24:07 CEST 2008
M?ns Rullg?rd wrote:
>> 4) I believe that adding "#define _BSD_SOURCE" at the top of udp.c (before
>> all the "#include"s) should fix the compilation (can anyone test? I do
>> not see the compilation failure, so I cannot test). And asking fro BSD
>> compatibility when using sockets looks like a good idea, so I think
>> this could be an acceptable solution...
> It seems this is the only sensible option we have. The one thing I don't
> like about it is that by messing with reserved namespace (_BSD_SOURCE),
> we are invoking undefined behaviour. There is no telling what some other
> libc might do if this is defined.
Uhmmm... Maybe we can do something like:
But I am not sure if this is a good idea.
More information about the ffmpeg-devel