1. Clean up all warnings for C source files in Base tool project.
authorqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 22 Jul 2009 05:09:46 +0000 (05:09 +0000)
committerqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 22 Jul 2009 05:09:46 +0000 (05:09 +0000)
commit4d9e68685b95e43f89f2cd5adaf735358ea09e1b
tree08512c78cefd37a1ee4f03076112b159f2c88e3c
parente1da10416a2047801a1865c99bfd40a38a83af4b
1. Clean up all warnings for C source files in Base tool project.
2. Turn on warning as error for GCC and MSFT CFLAGS so that build will break if a developer introduces a warning during development.
3. Increase waring level to /W4 for MSFT tool chain to detect more warnings in C source code.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1665 7335b38e-4728-0410-8992-fb3ffe349368
25 files changed:
Source/C/Common/BasePeCoff.c
Source/C/Common/EfiUtilityMsgs.c
Source/C/Common/EfiUtilityMsgs.h
Source/C/Common/ParseGuidedSectionTools.c
Source/C/EfiLdrImage/EfiLdrImage.c
Source/C/EfiRom/EfiRom.c
Source/C/GenBootSector/GenBootSector.c
Source/C/GenCrc32/GenCrc32.c
Source/C/GenFfs/GenFfs.c
Source/C/GenFv/GenFv.c
Source/C/GenFv/GenFvInternalLib.c
Source/C/GenFw/GenFw.c
Source/C/GenPage/GenPage.c
Source/C/GenSec/GenSec.c
Source/C/GenVtf/GenVtf.c
Source/C/GenVtf/GenVtf.h
Source/C/GnuGenBootSector/GnuGenBootSector.c
Source/C/Include/Common/BaseTypes.h
Source/C/Include/Ia32/ProcessorBind.h
Source/C/LzmaCompress/LzmaCompress.c
Source/C/Makefiles/header.makefile
Source/C/Makefiles/ms.common
Source/C/Split/Split.c
Source/C/TianoCompress/TianoCompress.c
Source/C/VolInfo/VolInfo.c