[vlc-devel] [vlc-commits] array: fix up types in vlc_array_*()

Rémi Denis-Courmont remi at remlab.net
Tue Mar 14 16:54:22 CET 2017


Le tiistaina 14. maaliskuuta 2017, 16.47.12 EET Steve Lhomme a écrit :
> On Tue, Mar 14, 2017 at 4:40 PM, Rémi Denis-Courmont <remi at remlab.net> 
wrote:
> > Le tiistaina 14. maaliskuuta 2017, 13.23.00 EET Steve Lhomme a écrit :
> >> Aren't you missing a #else for C99 compilers ? Or we officially don't
> >> support those anymore ?
> > 
> > AFAICT, we switched to C/C++11 about two years ago.
> 
> Why the second part of this line then ?
> #if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
> 
> Or even AC_PROG_CC_C99 in the configure.ac when we have VLC_PROG_CC_C11.

Part of the problem is that autoconf is basically dead, so there is no 
AC_PROG_CC_C11.

But there´s plenty of hysterical raisins in the build system in general, and 
the configure script in particular. AC_PROG_CC_C99 is not as "bad" as 
AC_C_CONST and AC_C_INLINE...

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list