[vlc-devel] [PATCH 3/6] src: fix compilation of fourcc_gen on OS/2

Jean-Baptiste Kempf jb at videolan.org
Tue Jul 21 10:15:05 CEST 2015


On 21 Jul, KO Myung-Hun wrote :
> The point is that gcc supports C99 specifications with -std=c99.


In /usr/bin/c99, do:

#!/bin/sh
fl="-std=c99"
for opt; do
  case "$opt" in
    -std=c99|-std=iso9899:1999) fl="";;
    -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
        exit 1;; 
  esac
done
exec gcc $fl ${1+"$@"}


With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list