Remove warning message in MAC GCC tool build
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Aug 2006 06:16:49 +0000 (06:16 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Aug 2006 06:16:49 +0000 (06:16 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1212 6f19259b-4bc3-4df7-8a09-765794883524

20 files changed:
Tools/Source/TianoTools/Common/build.xml
Tools/Source/TianoTools/CompressDll/build.xml
Tools/Source/TianoTools/CreateMtFile/build.xml
Tools/Source/TianoTools/EfiRom/build.xml
Tools/Source/TianoTools/FlashMap/build.xml
Tools/Source/TianoTools/FwImage/build.xml
Tools/Source/TianoTools/GenAcpiTable/build.xml
Tools/Source/TianoTools/GenCapsuleHdr/build.xml
Tools/Source/TianoTools/GenDepex/GenDepex.c
Tools/Source/TianoTools/GenDepex/build.xml
Tools/Source/TianoTools/GenFfsFile/build.xml
Tools/Source/TianoTools/GenFvImage/build.xml
Tools/Source/TianoTools/GenSection/build.xml
Tools/Source/TianoTools/GenTEImage/build.xml
Tools/Source/TianoTools/MakeDeps/build.xml
Tools/Source/TianoTools/PeiRebase/build.xml
Tools/Source/TianoTools/String/String.c
Tools/Source/TianoTools/String/build.xml
Tools/Source/TianoTools/Strip/Strip.c
Tools/Source/TianoTools/build.xml

index b794bd7f142b6acb83b7a4056be4e3135855c4a0..7802b27827ebd41cf2117f300db2148a1324f209 100644 (file)
@@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${LIB_DIR}/CommonTools"\r
         outtype="static"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <compilerarg value="-fPIC" if="x86_64_linux"/>\r
 \r
       <includepath path="${PACKAGE_DIR}/Include"/>\r
index 1aa5fb6ac8e335f56ded426bd725c260688e452f..7af7c8119ae5704729ebc87bb02e38240be4466a 100644 (file)
@@ -44,6 +44,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       outfile="${BIN_DIR}/${LibName}"\r
       outputfileproperty="result"\r
       >\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${LibName}" includes="${LibFileSet}" defaultexcludes="TRUE" excludes="*.xml *.inf"/>\r
       <includepath path="${PACKAGE_DIR}/Include"/>\r
       <includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>\r
index 317ccad4115f455f6f628f8168988392f6524296..20616d027e3cef500c830f1b88060c991ba693d5 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         debug="false">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index 86e117e4abbbcb940c882325eec9c84f09da99b1..89e43aeb2c75cb0dfe7f8a7f96ca609c4b0e973f 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         debug="false">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index dee577a35a56a00c459b8393c21ac634c9d70de0..e0e4fcc3a8cc26b2926b8eb62101becf633baf61 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         debug="false">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <defineset>\r
         <define name="_malloc" value="malloc"/>\r
         <define name="_free" value="free"/>\r
index 64340da55a8117049622036e24eb6e69fffb4475..d7bc76bd1646919849ddb6138a7a0c95edb8f23a 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index ba7b74b68661230ae4337d4f0a41b96504df9e7c..cdac147d7b03186f2ffa8d04fea1eda8be33d74c 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         debug="false">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index 30952784bb4713038da2ed2003cfe874627ce294..f63bd98d3ce54fb73b6e5c385451c6d543032838 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         debug="false">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index 67ffcd244308e928719cad45f3aaa7021dd794fc..3adde2c1fcf35c47c70de4d0c096e317f7860b57 100644 (file)
@@ -209,7 +209,7 @@ EFI_STATUS
 GenerateDependencyExpression (\r
   IN     FILE           *InFile,\r
   IN OUT FILE           *OutFile,\r
-  IN     UINT8          Padding  OPTIONAL\r
+  IN     INT8           Padding  OPTIONAL\r
   )\r
 /*++\r
 \r
index 3878b4a97f880d2ab2e1e24e07ebae4ed38f69b7..16ea68a065a10a0a2c8d4e80e362cfe945a2235c 100644 (file)
@@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outtype="executable"\r
         debug="false"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" />\r
 \r
index a6ccc114975da5e3c5ccf12867d1cc1c2a5bee4a..d7fdc8bce9f65e4a33df35af639148130a8149b6 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index 5ba021f4c64eb58c692b6bd7a184dccd9725601c..273d80fc4a77c400de17d44e796d4dc0d7ed6f8e 100644 (file)
@@ -80,6 +80,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
+      <compilerarg value="${ExtraArgus}" />      \r
 \r
       <defineset>\r
         <define name="BUILDING_TOOLS"/>\r
index 95987e6077cabf9868ea92188512bf33a8e16a01..a5a8403508062d4ef67db78b19940f056fd2bd35 100644 (file)
@@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index 58dadc12eedae68d584e59935841734d66208c91..3c5ea036f6e1df6fd2e99ec06c2a986adf9e430e 100644 (file)
@@ -39,6 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
+      <compilerarg value="${ExtraArgus}" />\r
 \r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
index 3223732d0b6a3f069d0ed3a08a17b49477e6e2a0..0a57036b9c1e7b9cb84605d22d157065f8d497ef 100755 (executable)
@@ -38,7 +38,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />   \r
+       \r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" \r
         defaultexcludes="TRUE" \r
index e9fb8e5cfb89cdcc0d09d5e11378a3e78bc224ae..92bd5c0e402ac4a6f82672ee997c25c97dbc2f94 100644 (file)
@@ -40,7 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}_Ia32"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}"/>\r
 \r
@@ -56,7 +56,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}_Ipf"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}"/>\r
 \r
@@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outfile="${BIN_DIR}/${ToolName}_X64"\r
         outtype="executable"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <fileset dir="${basedir}/${ToolName}" \r
         includes="${FileSet}" />\r
 \r
index cdbf29964c693a2a331b0bd5e275feafccc9163b..78d0a59fca165af5b3caa52f00628a6a54d572d0 100644 (file)
@@ -24,6 +24,8 @@ Abstract:
 \r
 #include <Common/UefiBaseTypes.h>\r
 \r
+#include <string.h>\r
+\r
 #include "CommonLib.h"\r
 \r
 /**\r
index f238a8712b5ebfb2d761cdc28c1aca86b8d0fa46..44c617360b41a04013073ce3f2928b562fe3c9a1 100644 (file)
@@ -62,7 +62,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         outtype="static"\r
         debug="true"\r
         optimize="speed">\r
-\r
+      <compilerarg value="${ExtraArgus}" />\r
       <compilerarg value="-fshort-wchar" if="gcc"/>\r
 \r
       <fileset dir="${basedir}/${LibName}" \r
index c21c4413e2439654af3e426f9c9f80b64aed7d4a..bccdffb55aeaf95547bf85a4c062a55ad44a1148 100644 (file)
@@ -23,6 +23,7 @@ Abstract:
 #include <stdio.h>\r
 #include <memory.h>\r
 #include <string.h>\r
+#include <stdlib.h>\r
 \r
 int\r
 main (\r
index d17229280916c117cd28d7a2ef5a5cbb9ede3379..5d3770ae0f5f4fe545070d0f941f0d32b279fd1b 100644 (file)
@@ -94,10 +94,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <isset property="env.TOOL_CHAIN" />\r
           <then>\r
             <property name="ToolChain" value="${env.TOOL_CHAIN}"/>\r
+            <property name="ExtraArgus" value="-Wno-pointer-sign" />\r
           </then>\r
           <else>\r
             <!-- Default Tool Chain is Microsoft Visual Studio -->\r
             <property name="ToolChain" value="msvc"/>\r
+            <property name="ExtraArgus" value="" />\r
           </else>\r
         </if>\r
       </then>\r