audk/StdLib/LibC/Stdio
darylm503 5244f47e46 StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers.
There are several significant differences between the mingw32 (gcc 4.3.0 based) compiler and the GCC 4.4 and later compilers.

Mingw32 requires that types int, long, long long, unsigned { int, long, long long}, float, and double be the only types passed to va_arg(). This requires the programmer to ensure that va_arg is called with type int for arguments of any type with a size less-than or equal-to int.  GCC 4.4 and later does not require this and performs the appropriate promotions for you.

Mingw32 uses 32-bit long in both ia32 and x64 mode.  GCC 4.4 makes long a 64-bit value when in x64 mode.

Signed-off-by: darylm503
Reviewed-by: jcarsey


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12258 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 21:56:45 +00:00
..
Stdio.inf Fix GCC build errors. 2011-08-31 00:02:56 +00:00
clrerr.c
fclose.c
fdopen.c
feof.c
ferror.c
fflush.c
fgetc.c
fgetln.c
fgetpos.c Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
fgets.c
fgetstr.c
fgetwc.c
fgetws.c
fileext.h
fileno.c
findfp.c
flags.c
floatio.h
flockfile.c
fopen.c
fparseln.c
fprintf.c
fpurge.c
fputc.c
fputs.c
fputwc.c
fputws.c
fread.c
freopen.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
fscanf.c
fseek.c
fseeko.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
fsetpos.c
ftell.c
ftello.c
funopen.c
fvwrite.c
fvwrite.h
fwalk.c
fwide.c
fwprintf.c
fwrite.c
fwscanf.c
getc.c
getchar.c
gets.c
gettemp.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getwc.c
getwchar.c
glue.h
local.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
makebuf.c
mkdtemp.c
mkstemp.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
mktemp.c
perror.c
printf.c
putc.c
putchar.c
puts.c
putwc.c
putwchar.c
refill.c
remove.c
rewind.c
rget.c
scanf.c
setbuf.c
setbuffer.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
setvbuf.c
snprintf.c
snprintf_ss.c
sprintf.c
sscanf.c
stdio.c
swprintf.c
swscanf.c
tempnam.c
tmpfile.c
tmpnam.c
ungetc.c
ungetwc.c
vasprintf.c
vfprintf.c
vfscanf.c
vfwprintf.c StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers. 2011-09-01 21:56:45 +00:00
vfwscanf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vscanf.c
vsnprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsnprintf_ss.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsscanf.c
vswprintf.c
vswscanf.c
vwprintf.c
vwscanf.c
wbuf.c
wcio.h
wprintf.c
wscanf.c
wsetup.c