From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 441B721C913CB for ; Thu, 2 Nov 2017 06:58:51 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2017 07:02:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,334,1505804400"; d="scan'208";a="916714621" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 02 Nov 2017 07:02:34 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Nov 2017 07:02:34 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Nov 2017 07:02:33 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Thu, 2 Nov 2017 22:02:32 +0800 From: "Gao, Liming" To: Karunakar P , 'Tim Lewis' , "edk2-devel@lists.01.org" CC: "Ye, Ting" , "Fu, Siyuan" , "Wu, Jiaxin" Thread-Topic: [edk2] Build error in StdLib with VS 2015 compiler Thread-Index: AdNSLUs3X2g4GI21RFWk3iCTMy+5sABXRP8A//96qYCAAJe3AP//YMWA Date: Thu, 2 Nov 2017 14:02:31 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1775A1@SHSMSX104.ccr.corp.intel.com> References: <015701d3538a$c2c92230$485b6690$@insyde.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: Build error in StdLib with VS 2015 compiler X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 13:58:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Could you remove them, and build again? > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ka= runakar P > Sent: Thursday, November 2, 2017 8:32 PM > To: 'Tim Lewis' ; edk2-devel@lists.01.org > Cc: Ye, Ting ; Fu, Siyuan ; Wu, J= iaxin > Subject: Re: [edk2] Build error in StdLib with VS 2015 compiler >=20 > It is C only. >=20 > -Karunakar >=20 > -----Original Message----- > From: Tim Lewis [mailto:tim.lewis@insyde.com] > Sent: Thursday, November 02, 2017 8:59 AM > To: Karunakar P; edk2-devel@lists.01.org > Cc: 'Ye, Ting'; 'Fu, Siyuan'; 'Wu, Jiaxin' > Subject: RE: [edk2] Build error in StdLib with VS 2015 compiler >=20 > Are you building C++ (.cpp)? Tim >=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ka= runakar P > Sent: Wednesday, November 1, 2017 8:27 PM > To: 'edk2-devel@lists.01.org' > Cc: 'Ye, Ting' ; 'Fu, Siyuan' ; '= Wu, Jiaxin' > Subject: Re: [edk2] Build error in StdLib with VS 2015 compiler >=20 > Any comment on this? >=20 > From: Karunakar P > Sent: Tuesday, October 31, 2017 3:18 PM > To: 'edk2-devel@lists.01.org' > Cc: 'Wu, Jiaxin'; 'Fu, Siyuan'; 'Ye, Ting' > Subject: Build error in StdLib with VS 2015 compiler >=20 > Hello All, >=20 > Facing an build error with Stdlib module when built with VS 2015 compiler= . >=20 > e:\test\StdLib\Include\sys/EfiCdefs.h(357): error C2220: warning treated = as error - no 'object' file generated > e:\test\StdLib\Include\sys/EfiCdefs.h(357): warning C4117: macro name '__= STDC_HOSTED__' is reserved, '#define' ignored >=20 > below change resolving this error. Would you please review and provide co= mments. >=20 > #ifndef __STDC_HOSTED__ > #define __STDC_HOSTED__ 1 > #endif >=20 >=20 > Thank You, > Karunakar > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel