[x264-devel] VC8 compilation
Gabriel Bouvigne
bouvigne at mp3-tech.org
Wed Mar 7 20:39:53 CET 2007
While compiling x264 under VC8, I noticed the following things:
*in getopt.c:
# if HAVE_STRING_H
# include <string.h>
# else
# include <strings.h>
# endif
but in frame.c:
#include <string.h>
Either unconditionnaly include string.h in getopt.c or use a
preprocessor test inside frame.c, but right now this is not coherent.
*VC8 does not know about unistd.h, thus producing errors untill those
includes are removed.
*getopt:
in x264.c:
int c = getopt_long( argc, argv, "8A:B:b:f:hI:i:m:o:p:q:r:t:Vvw",
long_options, &long_options_index);
but VC8 doesn't know about getopt_long. Fortunately you provided
getopt.c, so the call to getopt_long can be replaced by getopt.
Regards,
--
Gabriel Bouvigne
www.mp3-tech.org
personal page: http://gabriel.mp3-tech.org
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list