audk/StdLib/LibC
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
..
CRT Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
Ctype Update or add comments to files and functions for use by Doxygen. 2011-08-04 18:13:02 +00:00
Locale Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
Main Update or add comments to files and functions for use by Doxygen. 2011-08-04 18:13:02 +00:00
Math Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
NetUtil Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Signal Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
StdLib Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Stdio 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
String Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Time Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Uefi Fix @return Doxygen commands to be singular instead of plural. 2011-08-05 23:57:34 +00:00
Wchar Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
gdtoa Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
LibC.inf Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00