From nobody Mon Nov 25 08:28:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+72326+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+72326+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=hpe.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1614673349064792.607614090429; Tue, 2 Mar 2021 00:22:29 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZbuUYY1788612xUAYtYNfyrL; Tue, 02 Mar 2021 00:22:27 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.5677.1614673342180008428 for ; Tue, 02 Mar 2021 00:22:22 -0800 X-Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1228J5Wh025680; Tue, 2 Mar 2021 08:22:13 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 36yf9h617p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Mar 2021 08:22:13 +0000 X-Received: from G9W8456.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.161.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2354.austin.hpe.com (Postfix) with ESMTPS id 0B1C89D; Tue, 2 Mar 2021 08:22:13 +0000 (UTC) X-Received: from G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) by G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Mar 2021 08:22:12 +0000 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8456.americas.hpqcorp.net (16.216.161.95) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 2 Mar 2021 08:22:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QN4ZHeW1x6ItXSsUGPVTQfDGKNtJrz9F6X6MN+Es8uY1NtebFz5iwu+yHGPOdRDnj/wITzyBlnW4L1g8SifVHbzdkRD22+xm9SJ0ELRpcar3l17cgHZbBhiwkTL0U/J1xstzwg7ygCEc2lzNaBqdZp7HJV2QwEJWgvXoXqsZsdSy7E43xzXbK4D+C1zoHKEHO9LxU5YVWriHffPPJXcCshozGD4L06H5pawDCeo6AWM+ei5aElzYN83Jg6dPmWBS4+L10AzMvWSv+1qJfsXdouP+06zvIA6D6DIEcBCBfmDxu4uuUVUUg7RGXIpuERZZqyFaxR2XpmlnJ5YI0oiUbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qveQOD0o6WSX24XzZG97pUMAIp/OPOXHWICUumYbeHE=; b=K/yENAZyJXsOMqlllskMwmrDQ33j17PekkF3Ace1J3xWaLwRR+EzjZwGB24EyoUbRYQvbAXjjj4uuV4vDWDzLZ5eJ1Z0FQYhsE17gJhcQYlA55LYheMI4mLQ+ihL3u5xRk/rd0EeFsAvioGx9T0VH1VQ6HDg7dwlxzTKIwbnes5WJqNnn0xluy6DWKPFZ8UbJw9K2e+nZD3TLkGfFT9+SWvPZ8891+EwkydCSXdKrM40ArxndtvPrh8DUu+W7vR4jLXHrxC7+rbvNoYPwxx4vQ2A8NtfAtN+c5ze7cffeCiZ5yJuFiNeTiRbcrxtM3Cl7+EH7tHg+DLJWkvs2M9Ajw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none X-Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) by DF4PR8401MB0507.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7605::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.29; Tue, 2 Mar 2021 08:22:11 +0000 X-Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ad2c:ff74:846c:5318]) by DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ad2c:ff74:846c:5318%7]) with mapi id 15.20.3890.029; Tue, 2 Mar 2021 08:22:11 +0000 From: "Daniel Schaefer" To: CC: Bob Feng , Liming Gao , Yuwei Chen , Derek Lin Subject: [edk2-devel] [PATCH v1 1/2] BaseTools: Make undefined VFR macro an error (GCC) Date: Tue, 2 Mar 2021 16:21:49 +0800 Message-ID: <20210302082150.15478-2-daniel.schaefer@hpe.com> In-Reply-To: <20210302082150.15478-1-daniel.schaefer@hpe.com> References: <20210302082150.15478-1-daniel.schaefer@hpe.com> X-Originating-IP: [15.211.146.34] X-ClientProxiedBy: SG2PR02CA0066.apcprd02.prod.outlook.com (2603:1096:4:54::30) To DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from x360-nix.wireless.hpe.com (15.211.146.34) by SG2PR02CA0066.apcprd02.prod.outlook.com (2603:1096:4:54::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20 via Frontend Transport; Tue, 2 Mar 2021 08:22:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ea676618-ee82-49b4-e2f5-08d8dd544732 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0507: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2150; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: Eb1Mg05xu78f2Oa/DKb7Rv+f8rdolr0eaNErbHpNSVyIN0VOCKCChYGgG6IBxeOVygfqASBx9qolbIoe9Elll882He/F8deaKSlwqKxfVDgxEUsXSU8o6Nkh7gGRi1eA0GOTWlqQfTBcKKvr5I99BhPjKlSK4Dl6nYxWU0/COlxJsZe4M996B1J6p18d9cVakSirBjDtHb9vbAMnpEXNj7tOz2St7kkmSwDRbeHz27b7dkn+iUn/qHcNmafDrZJak6ViwNdKcTiQWclhHoESWmkR1GwMVJAQPSdlC6EzHkWC2tGLkJt9YDbXaAyuwMPqO6Rvcfbr4JGtY1yqZr6Lnc9Okmhxkz8TlqMlzDorviYW8+Xg5mhcsPfCGCE1cai9WyX7PcLcI/BACNUshf0TpmdrFSfJYpU8d7+QHPTBo0fWVaV85CBnB+4Pd5vZ80KjrQfD4HgiuRtSTzf7dl/Byl1wkXBSH0Nryg+HgDYrA6obXf5T6Fg5CpL2faw+Ee+FF9EzbLGDIxKo6M+YjVkfAQ== X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?SFQcyH6BJrzsLzj9YpYTVXN5mgWX8vGZ1Bd5y4R/FuMsqpPeucJavvBK6AFd?= =?us-ascii?Q?ow1lrAznUznT1qIBmKPwUSSsa56Gyc8FmKulHOn0bNDUDaRjq7KS/PKfkbjh?= =?us-ascii?Q?p6rFUz7iRxxKLPOOwph7LlD30BeoY2u23NLJS8DQflT9QniA7EtnQI26SUx/?= =?us-ascii?Q?/H7SH456iD8phF70mczb5u80ozyXLIL3KyMJMEdNp9AigQMDi9z7sG/KbohY?= =?us-ascii?Q?cKJKqbyB6xxxrKUHLR8Mv5Ky3yVjpHzw8jcpUUnUsXGWSdcb+dFrwCTI9yD6?= =?us-ascii?Q?/g9GQgnNGwgk0E6+NH/gPwHaNs7WVKlcV7Z73NczgBsw0ikO5vud0VlnQ+QX?= =?us-ascii?Q?0BmxKPA+dsfW3Q3s7+HFUKon2l+LFXFupVjgrH+g8pNk5BKLEkuNKAbcwTVo?= =?us-ascii?Q?tfjduBeyhzXa11xDnIyqmqR9SWrnfhDtgKUa0UM1sGwKeUy9VCOxd6OWa3Zx?= =?us-ascii?Q?Gf3MsSG2QXo0TFadygHL1fRpQ1w7Y86wDFbjfA1M+nUG1hdbln5ufYfpPnNB?= =?us-ascii?Q?1TjOmkhjaEZyW+MXcvBqGGmgsMStYWYwQx9Zioq126xx1itKgtQvmzDhZWgX?= =?us-ascii?Q?W1U45OouMjQjOXG3aLEkP6Ym2I/u7BQm2eyBdEEmJjB0msWN69MB8UJ8CZuA?= =?us-ascii?Q?dYpVKPa/d1xge47LrS25P5oyqtTzwnLFe0f4TQRrdhA/jYvDe0GJXkfsTGVH?= =?us-ascii?Q?5h/ef6AlVr+TU8ONZsyQjAdA7KbK7JHPGCcucZkxstzBWOG9jNsASLC9iNh7?= =?us-ascii?Q?Km8iOrM1f+/5x3yk545jg507Gf/Qle0m2AFNJiOZtwDdWogJTH0FYSSlW6IM?= =?us-ascii?Q?jOYddF+QFn2xi3kpekrzOf9xMTtIM2ZwmDxsUQ17b0qrcv/DVmUwoewkr2Et?= =?us-ascii?Q?aKMxVey2i5nYlTmyoiIn0IYw7qlki8yLt9qS90Eh8/bixCIFIEoiKJ0yQfCp?= =?us-ascii?Q?iFlj6tANWZ0tnkxOb0360JRHNWT7Ra36ccRAdOmSrJY+/xx63it3c187fbW1?= =?us-ascii?Q?9OAcZ8sGRU7cygkRrM+uz8GlI+vpJqIShQ8ic2bluJcqCaJvJnPPE5/NeagK?= =?us-ascii?Q?1pYRcS95N4k6/UgDpQKAgvqTQbC4wXwV4WP5Vl6VSfqF4OaeEylOYPY2DdCz?= =?us-ascii?Q?T3w8eE2W/E11T8yi59tKGqCQue9QY+weQ3J8avR+iZgYdt3fwIlXddP0ABCh?= =?us-ascii?Q?8c7rQ4rwFGDprSDnGVFn5eZUgxjsit7frAtinooKa/5ozZHijJWZFfW56gx3?= =?us-ascii?Q?sylfFp0EtCLJCdKWztP7tkE+a5GaFOFRbFDJPm19AGMuG8IcMyrmSS1knkMM?= =?us-ascii?Q?vikJuwsvaRQ1WFtu0x8V9vmp?= X-MS-Exchange-CrossTenant-Network-Message-Id: ea676618-ee82-49b4-e2f5-08d8dd544732 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2021 08:22:11.7032 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7Tol95jL6nx5AvO3M70jX8B1nLbu3h/gEKHrjYa7M15Zq+JniOReGTOz4TniPI6sEiSal1HV3JKJtsGw2DmwTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0507 X-OriginatorOrg: hpe.com X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,daniel.schaefer@hpe.com X-Gm-Message-State: LVRVJniK5dgvosTGbBSnJUd0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1614673347; bh=53v8ayx+10uM9G+dsi85np7NAMgZeXMFvIFXz9gBMqE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=UU0bl+EPNEwFi2WGq90USY2R37qau4e7e2sAG9hLolWoKlYEqnK5txRuUNypd0b3Unt F4BAByrqPYc8lNKv62RaHIsZdvPsKgcTTmzENn0SGfGb4PUyr1DPE63FITlhfS50oY28L zLht1PwdcNiVIVf28GKnXjh1ct1t1IjWGXQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" VFR successfully compiles if we forget to include a header that defines a macro. In that case the HII option was hidden when it shouldn't be just because the macro was used but not defined. The behaviour is totally intended by the C/PP standard. When a macro is undefined it evaluates to 0. GCC, MSVC and Clang have warnings to catch this type of mistake. With this commit we enable this warning and make it a compiler error. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Cc: Derek Lin --- BaseTools/Conf/tools_def.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 933b3160fd2b..728c1d3119e4 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -3,7 +3,7 @@ # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Portions copyright (c) 2011 - 2019, ARM Ltd. All rights reserved.
# Copyright (c) 2015, Hewlett-Packard Development Company, L.P.
-# (C) Copyright 2020, Hewlett Packard Enterprise Development LP
+# (C) Copyright 2020-2021, Hewlett Packard Enterprise Development LP
# Copyright (c) Microsoft Corporation # # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -1938,7 +1938,7 @@ DEFINE GCC_AARCH64_ASLDLINK_FLAGS =3D DEF(GCC_AARCH6= 4_DLINK_FLAGS) -Wl,--entry,Re DEFINE GCC_IA32_X64_DLINK_FLAGS =3D DEF(GCC_IA32_X64_DLINK_COMMON) --en= try _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -M= ap $(DEST_DIR_DEBUG)/$(BASE_NAME).map DEFINE GCC_ASM_FLAGS =3D -c -x assembler -imacros AutoGen.h DEFINE GCC_PP_FLAGS =3D -E -x assembler-with-cpp -include A= utoGen.h -DEFINE GCC_VFRPP_FLAGS =3D -x c -E -P -DVFRCOMPILE --include $= (MODULE_NAME)StrDefs.h +DEFINE GCC_VFRPP_FLAGS =3D -x c -E -P -DVFRCOMPILE --include $= (MODULE_NAME)StrDefs.h -Wundef -Werror DEFINE GCC_ASLPP_FLAGS =3D -x c -E -include AutoGen.h DEFINE GCC_ASLCC_FLAGS =3D -x c DEFINE GCC_WINDRES_FLAGS =3D -J rc -O coff --=20 2.30.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#72326): https://edk2.groups.io/g/devel/message/72326 Mute This Topic: https://groups.io/mt/81020991/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon Nov 25 08:28:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+72327+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+72327+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=hpe.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1614673364876806.3285606111423; Tue, 2 Mar 2021 00:22:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id dVXOYY1788612xVVg0fYHiFg; Tue, 02 Mar 2021 00:22:44 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.5703.1614673363808806003 for ; Tue, 02 Mar 2021 00:22:44 -0800 X-Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1228JMxr010901; Tue, 2 Mar 2021 08:22:21 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 36ybkcf17w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Mar 2021 08:22:20 +0000 X-Received: from G9W8455.americas.hpqcorp.net (g9w8455.houston.hp.com [16.216.161.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 305D884; Tue, 2 Mar 2021 08:22:20 +0000 (UTC) X-Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Mar 2021 08:22:16 +0000 X-Received: from NAM04-BN8-obe.outbound.protection.outlook.com (15.241.52.10) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 2 Mar 2021 08:22:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8JZuHEqfHVIwG7rug1n/xRnSMVoNXxCGGJwdGXSEuO8VVKiiBMdmXXdkTYqR/ziB2NtylqcWkq5Wwo9UyxtFaChm8s1bqNCJ1W6AkT1JFAFxjUW2MF8qMQ3V88Obn+JV7uKi76PtBku7+/2QgJkpeO2Xk7KTUfrveLpJye2rCJbHtmB/404RhO9vPBD5pk7sjFUWofAKLKBsXYs/zuJO8qSzJVP0Qxz5cyx/q9DDOwwEMxn1EPzr12k7pp6EgFzmrgYTCVOZCUJr/2043p2HY7Xh7tp7PeaHOB7Au9hrA7Ffa6cRqILOpqTxzpkirK0RsyVH0GsD5WM7CU9PclFOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1vRd1qPNv1pct8m0xuccHOXbkhJv5Z6ZwN/j34MrEdI=; b=Wa4SrwPOArw2R7BJ+reDn3AAvjcxatYuAFpwXB0VUZfR5kqcdKv+8274g0qSZCh8lJqJOgSl7tdFS8vO9vPojuJlpsjOeZwouMGnmgT+XZrGK4WfQCPtOuyXVMQ/ctecmCZBXzLblx5bdPoWoI6DEcTxw03+24AdogmBJjvUA06AligywMx/V9NiuVnrA7CCIN/Io/EBhZgn3q4yPi0IRWABCgqIy2J/5JqMBsLc5a0m6vPzsQuE2chDbRNOwSUwrLcQseNfgJF1gsCCaqMu7788myZfCE6ONC3HfKOivwUmM7MPpdSrelwRt88Ggktw0esGuo1hHRcBCbVl6F0qog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none X-Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) by DF4PR8401MB0762.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.29; Tue, 2 Mar 2021 08:22:15 +0000 X-Received: from DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ad2c:ff74:846c:5318]) by DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ad2c:ff74:846c:5318%7]) with mapi id 15.20.3890.029; Tue, 2 Mar 2021 08:22:15 +0000 From: "Daniel Schaefer" To: CC: Bob Feng , Liming Gao , Yuwei Chen , Derek Lin Subject: [edk2-devel] [PATCH v1 2/2] BaseTools: Make undefined VFR macro an error (MSVC) Date: Tue, 2 Mar 2021 16:21:50 +0800 Message-ID: <20210302082150.15478-3-daniel.schaefer@hpe.com> In-Reply-To: <20210302082150.15478-1-daniel.schaefer@hpe.com> References: <20210302082150.15478-1-daniel.schaefer@hpe.com> X-Originating-IP: [15.211.146.34] X-ClientProxiedBy: SG2PR02CA0066.apcprd02.prod.outlook.com (2603:1096:4:54::30) To DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from x360-nix.wireless.hpe.com (15.211.146.34) by SG2PR02CA0066.apcprd02.prod.outlook.com (2603:1096:4:54::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20 via Frontend Transport; Tue, 2 Mar 2021 08:22:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a2dab653-854b-4d6c-0c42-08d8dd544906 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0762: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2150; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: e0efj5OBDb1DBd9SKAcW/jvo09WyI+st1k4J79vH3WKyzvG5NzrUYJyGm1hB6adIHPWLwHoYpPKj61VOgRGk7Km5outCB7+M4OPpGJ+T68tn5MuDaRTPpSuPOaI/yWP2bFQuodbJTcEnACW6kgHyp4uKoShh7NLdApguH9Fi5KxB5PZK/izhL1yIse5l1p8g5RcmFbdmSr+krxsIPWYLBskCGX7kiclo+G1p1RiDjkfyGJ8VlTlZslbbDspQF7NQ/gyfDVgOZgocdBJei7o1LbWuAfryMO4OZY/OY6jq+CwFAY0Ug3wvQs35TJ6Q4ioToKR4qAbXpaJBCUlsQMK/S7H+xVIJciX8L4IySZWccwsDC+0na41y2R8YefKDfdl+jNk7YbCCnG04SfBLk8JHwCftz7xUvWwKggqS2yYYxwkjb0nMfUApZwEzyKmwCEFZ6GcYf/5lkMRRDvVaJ4SLNeyx5AFqiTxfVLMNL5adlV76wFVyDGff+P4b7oGHP3ESaKTs1O0uq6ka+s9r1lzKoeo8wwtdiE8SjFjFe/FhyaKpZ6t+xcTeC20Xz/ZfsE0PFmv1caJzx9YbO5oFWajGIQ== X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?IwganPjMHHfmhnVivWlmVrmOnmNU3s3NdPxwg4jQgj+U02E0fuidLU5Nt5mJ?= =?us-ascii?Q?MNu9aUMLfAq5R5WGEbwhd40U+OVf2WKS5yb8lSNJEYSiAFsnzzoZvgyx17oL?= =?us-ascii?Q?gYrTkWG4Eq5UpHWzA6j6inTmnFQX5FTRTNO0EwaiNuhw1MQVBAkLxopE5jOf?= =?us-ascii?Q?zw6BVpxHAUB3+IQKV3uGX0HlD1hFl8i6fOR/Dz2MGf/6aydlUlddEJbiX521?= =?us-ascii?Q?NMYRAHARdQkpJDx5srydv+VSbTtl6VjcgTaV0P6APt42PeXeHLYayvZzIojt?= =?us-ascii?Q?jC6mJXKFoScahAUv6qO/RGFyyCe6DfBAoNbwy0NSIbU9rfCIbZMfyUlc9jId?= =?us-ascii?Q?uWLiiJI/3tCXOJqx/QkLtTxAg5oDPgxc1wwawJ/wKLGHCDr3zBTCX/Poa4i6?= =?us-ascii?Q?bdTshi7DDMbf2cY+cwExGJvP/+fCfPN8Jrx/Op4h14yz4IL6iCynqZYDOZjl?= =?us-ascii?Q?ydZ8DuEixg9LyYdyMJSSuujshgUJKGafTtOie0kW/hl43+xA/32aWo8Rqgvp?= =?us-ascii?Q?/FfxUEgtuJmJGBHvgei2F84eGvEnuZEeXoRw0ECDoJmgZviO6zDE3b/OXVzE?= =?us-ascii?Q?7Kbmvjf/ephIxhifhYO8bF5YKM67ZzgvuhK4AjkC48et6Avi6B9IsitScFXI?= =?us-ascii?Q?XXFhEtwlqz0oDxLMDfL31nXj/yNRZ7zuEdD+71El83hzhXPGF34eN3PVi/X4?= =?us-ascii?Q?JupPp+FMh3dPDJgoo12Xytpvo+FdEw+FkByANYXqud8g6rnSAkm8EuwCbMZc?= =?us-ascii?Q?GPJIw0nDewaFgfgeYMTue3zuqAq0JxGLyHRw9wv4GbgM7YFnoFykzgL8lLAv?= =?us-ascii?Q?OxZioOqBMfKWtfPVsq5mRiuuaYC/K22Lpb8wT1AtjYgoeTrYpuA25EO5Owua?= =?us-ascii?Q?xnMx2p5oF3Hp9QK+DcxKO5wmF0jsnzheWiUqUsASRZxyjV/l64V3a0mwm24p?= =?us-ascii?Q?+PCb/Bkc5ElLtdppUirGeti3cthKq2gOcyWoUtIvtI6JJsCGNiaPn1JMbSD9?= =?us-ascii?Q?09C2DvLhnJJcQcOmXRnXrOXyzPo3LHF49p1gbbhuCm3aQ39H1ww0p5xb1ybf?= =?us-ascii?Q?P9t7eFGj1251xeKAd3D3TH2/DEy47uBNLf0MmsZ4djylpRzcoV/jo9lOtGMc?= =?us-ascii?Q?CrFZP8NaThlAGv0bnhURyO8AEmwblwj/KXkr9axY5OFdZugGaS4F7S+AXlS/?= =?us-ascii?Q?A46XG2tlj5XdQWvKeN4W9IqZ2czkPazh9eOsjLAAfjffc4Lzej17jQLdxiuL?= =?us-ascii?Q?37MkWUtUrkxYxlcDXOOdlNBWp95P8d1EAvUv9s+qpXDf0uptmUbn9pBsIkAD?= =?us-ascii?Q?YoH7CPpthAAkRAAGdcnJMeV6?= X-MS-Exchange-CrossTenant-Network-Message-Id: a2dab653-854b-4d6c-0c42-08d8dd544906 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0444.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2021 08:22:15.0117 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MRLRVdUoD0T41T3WMUcT2PKYp99/DD2Deg8Ys/VerqnN7tNc5pXlHAXqCzorlHgqD9wAsNdxcKYFjNM7SNHxHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0762 X-OriginatorOrg: hpe.com X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,daniel.schaefer@hpe.com X-Gm-Message-State: jfSGEDBR3ElwNvNBohbJMPzXx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1614673364; bh=CCmE8OnndlelJ9fzF4L+NRuHDxY3diqoY7zecTcQ/Fs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=jFjuf70NYKevOTWgUQsuh8MV9VspVIjbgI6lgeyNAYD8qY0Z5w1hMIr9Z03vjXGs5tD LPxyRK+qiZd2YIfI+SS20J8bdApF360IHvQQjXn5gBHtcXLiUhZs9rd4TruZLEaxsShiD qK/CwTZ5sdRyi/2D4crmisZjSF6Po2LZTiI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" VFR successfully compiles if we forget to include a header that defines a macro. In that case the HII option was hidden when it shouldn't be just because the macro was used but not defined. The behaviour is totally intended by the C/PP standard. When a macro is undefined it evaluates to 0. GCC, MSVC and Clang have warnings to catch this type of mistake. With this commit we enable this warning and make it a compiler error. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Cc: Derek Lin --- BaseTools/Conf/tools_def.template | 46 ++++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 728c1d3119e4..56c7bd13f157 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -422,7 +422,7 @@ DEFINE DTC_BIN =3D ENV(DTC_PREFIX)dtc *_VS2008_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2008_*_APP_FLAGS =3D /nologo /E /TC *_VS2008_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2008_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2008_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h /we4668 *_VS2008_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2008_*_ASM16_PATH =3D DEF(VS2008_BIN)\ml.exe =20 @@ -518,7 +518,7 @@ NOOPT_VS2008_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB= /IGNORE:4001 /OPT:REF /OPT *_VS2008_EBC_MAKE_FLAGS =3D /nologo *_VS2008_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2008_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2008_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2008_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2008_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2008_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\Lib\EbcLi= b.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POI= NT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -538,7 +538,7 @@ NOOPT_VS2008_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB= /IGNORE:4001 /OPT:REF /OPT *_VS2008x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2008x86_*_APP_FLAGS =3D /nologo /E /TC *_VS2008x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2008x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h +*_VS2008x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h /we4668 *_VS2008x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2008x86_*_ASM16_PATH =3D DEF(VS2008x86_BIN)\ml.exe =20 @@ -633,7 +633,7 @@ NOOPT_VS2008x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /OPT:REF *_VS2008x86_EBC_MAKE_FLAGS =3D /nologo *_VS2008x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2008x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D= $(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2008x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h +*_VS2008x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h /we4668 *_VS2008x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2008x86_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\= Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_= ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -656,7 +656,7 @@ NOOPT_VS2008x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /OPT:REF *_VS2010_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2010_*_APP_FLAGS =3D /nologo /E /TC *_VS2010_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2010_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2010_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h /we4668 *_VS2010_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2010_*_ASM16_PATH =3D DEF(VS2010_BIN)\ml.exe =20 @@ -752,7 +752,7 @@ NOOPT_VS2010_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB= /IGNORE:4001 /OPT:REF /OPT *_VS2010_EBC_MAKE_FLAGS =3D /nologo *_VS2010_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2010_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2010_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2010_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2010_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2010_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\Lib\EbcLi= b.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POI= NT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -772,7 +772,7 @@ NOOPT_VS2010_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB= /IGNORE:4001 /OPT:REF /OPT *_VS2010x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2010x86_*_APP_FLAGS =3D /nologo /E /TC *_VS2010x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2010x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h +*_VS2010x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h /we4668 *_VS2010x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2010x86_*_ASM16_PATH =3D DEF(VS2010x86_BIN)\ml.exe =20 @@ -868,7 +868,7 @@ NOOPT_VS2010x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /OPT:REF *_VS2010x86_EBC_MAKE_FLAGS =3D /nologo *_VS2010x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2010x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D= $(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2010x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h +*_VS2010x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h /we4668 *_VS2010x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2010x86_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\= Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_= ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -890,7 +890,7 @@ NOOPT_VS2010x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAU= LTLIB /IGNORE:4001 /OPT:REF *_VS2012_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2012_*_APP_FLAGS =3D /nologo /E /TC *_VS2012_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2012_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2012_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h /we4668 *_VS2012_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2012_*_ASM16_PATH =3D DEF(VS2012_BIN)\ml.exe =20 @@ -986,7 +986,7 @@ NOOPT_VS2012_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB= /IGNORE:4001 /OPT:REF /OPT *_VS2012_EBC_MAKE_FLAGS =3D /nologo *_VS2012_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2012_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2012_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2012_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2012_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2012_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\Lib\EbcLi= b.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POI= NT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1006,7 +1006,7 @@ NOOPT_VS2012_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTL= IB /IGNORE:4001 /OPT:REF /OPT *_VS2012x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2012x86_*_APP_FLAGS =3D /nologo /E /TC *_VS2012x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2012x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h +*_VS2012x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h /we4668 *_VS2012x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2012x86_*_ASM16_PATH =3D DEF(VS2012x86_BIN)\ml.exe =20 @@ -1102,7 +1102,7 @@ NOOPT_VS2012x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2012x86_EBC_MAKE_FLAGS =3D /nologo *_VS2012x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2012x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D= $(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2012x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h +*_VS2012x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h /we4668 *_VS2012x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2012x86_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\= Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_= ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1124,7 +1124,7 @@ NOOPT_VS2012x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2013_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2013_*_APP_FLAGS =3D /nologo /E /TC *_VS2013_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2013_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2013_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h /we4668 *_VS2013_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2013_*_ASM16_PATH =3D DEF(VS2013_BIN)\ml.exe =20 @@ -1220,7 +1220,7 @@ NOOPT_VS2013_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTL= IB /IGNORE:4001 /OPT:REF /OPT *_VS2013_EBC_MAKE_FLAGS =3D /nologo *_VS2013_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2013_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2013_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2013_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2013_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2013_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\Lib\EbcLi= b.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POI= NT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1240,7 +1240,7 @@ NOOPT_VS2013_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTL= IB /IGNORE:4001 /OPT:REF /OPT *_VS2013x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2013x86_*_APP_FLAGS =3D /nologo /E /TC *_VS2013x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2013x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h +*_VS2013x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h /we4668 *_VS2013x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2013x86_*_ASM16_PATH =3D DEF(VS2013x86_BIN)\ml.exe =20 @@ -1336,7 +1336,7 @@ NOOPT_VS2013x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2013x86_EBC_MAKE_FLAGS =3D /nologo *_VS2013x86_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2013x86_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D= $(MODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2013x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h +*_VS2013x86_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(M= ODULE_NAME)StrDefs.h /we4668 *_VS2013x86_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2013x86_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\= Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_= ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1358,7 +1358,7 @@ NOOPT_VS2013x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2015_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2015_*_APP_FLAGS =3D /nologo /E /TC *_VS2015_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2015_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2015_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h /we4668 *_VS2015_*_DLINK2_FLAGS =3D *_VS2015_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2015_*_ASM16_PATH =3D DEF(VS2015_BIN)\ml.exe @@ -1455,7 +1455,7 @@ NOOPT_VS2015_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTL= IB /IGNORE:4001 /OPT:REF /OPT *_VS2015_EBC_MAKE_FLAGS =3D /nologo *_VS2015_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2015_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2015_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2015_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2015_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2015_EBC_DLINK_FLAGS =3D "C:\Program Files\Intel\EBC\Lib\EbcLi= b.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POI= NT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1475,7 +1475,7 @@ NOOPT_VS2015_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTL= IB /IGNORE:4001 /OPT:REF /OPT *_VS2015x86_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2015x86_*_APP_FLAGS =3D /nologo /E /TC *_VS2015x86_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2015x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h +*_VS2015x86_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_= NAME)StrDefs.h /we4668 *_VS2015x86_*_DLINK2_FLAGS =3D *_VS2015x86_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) *_VS2015x86_*_ASM16_PATH =3D DEF(VS2015x86_BIN)\ml.exe @@ -1593,7 +1593,7 @@ NOOPT_VS2015x86_X64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2017_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2017_*_APP_FLAGS =3D /nologo /E /TC *_VS2017_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2017_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAM= E)StrDefs.h +*_VS2017_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAM= E)StrDefs.h /we4668 *_VS2017_*_DLINK2_FLAGS =3D /WHOLEARCHIVE *_VS2017_*_ASM16_PATH =3D DEF(VS2017_BIN_IA32)\ml.exe *_VS2017_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) @@ -1736,7 +1736,7 @@ NOOPT_VS2017_AARCH64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2017_EBC_MAKE_FLAGS =3D /nologo *_VS2017_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2017_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2017_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2017_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2017_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2017_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\Lib= \EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENT= RY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 @@ -1756,7 +1756,7 @@ NOOPT_VS2017_AARCH64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2019_*_SLINK_FLAGS =3D /NOLOGO /LTCG *_VS2019_*_APP_FLAGS =3D /nologo /E /TC *_VS2019_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h -*_VS2019_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAM= E)StrDefs.h +*_VS2019_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAM= E)StrDefs.h /we4668 *_VS2019_*_DLINK2_FLAGS =3D /WHOLEARCHIVE *_VS2019_*_ASM16_PATH =3D DEF(VS2019_BIN_IA32)\ml.exe *_VS2019_*_DEPS_FLAGS =3D DEF(MSFT_DEPS_FLAGS) @@ -1899,7 +1899,7 @@ NOOPT_VS2019_AARCH64_DLINK_FLAGS =3D /NOLOGO /NODEF= AULTLIB /IGNORE:4001 /OPT:REF *_VS2019_EBC_MAKE_FLAGS =3D /nologo *_VS2019_EBC_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h *_VS2019_EBC_CC_FLAGS =3D /nologo /c /WX /W3 /FIAutoGen.h /D$(M= ODULE_ENTRY_POINT)=3D$(ARCH_ENTRY_POINT) -*_VS2019_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h +*_VS2019_EBC_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MODU= LE_NAME)StrDefs.h /we4668 *_VS2019_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2019_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\EBC\Lib= \EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENT= RY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 --=20 2.30.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#72327): https://edk2.groups.io/g/devel/message/72327 Mute This Topic: https://groups.io/mt/81020994/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-