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 Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fclose.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fdopen.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
feof.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
ferror.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fflush.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetln.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fgetpos.c Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
fgets.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetstr.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetwc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetws.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fileext.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fileno.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
findfp.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
flags.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
floatio.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
flockfile.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fopen.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fparseln.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fprintf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fpurge.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputs.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputwc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputws.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fread.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
freopen.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
fscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fseek.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fseeko.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
fsetpos.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
ftell.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
ftello.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
funopen.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fvwrite.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fvwrite.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwalk.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwide.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fwprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwrite.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fwscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
getc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
getchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
gets.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
gettemp.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
getwchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
glue.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
local.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
makebuf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
mkdtemp.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
mkstemp.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
mktemp.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
perror.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
printf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
putchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
puts.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putwchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
refill.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
remove.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
rewind.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
rget.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
scanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
setbuf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
setbuffer.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
setvbuf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
snprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
snprintf_ss.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
sprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
sscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
stdio.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
swprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
swscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
tempnam.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
tmpfile.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
tmpnam.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
ungetc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
ungetwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vasprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vfprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vfscanf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
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 Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
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 Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vswprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vswscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vwprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vwscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wbuf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
wcio.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wsetup.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00