From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=203.199.198.232; helo=imsva.in.megatrends.com; envelope-from=karunakarp@amiindia.co.in; receiver=edk2-devel@lists.01.org Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (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 D7D7021FCA26B for ; Thu, 2 Nov 2017 07:42:44 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC2E282047; Thu, 2 Nov 2017 20:19:34 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CEA1682046; Thu, 2 Nov 2017 20:19:34 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Thu, 2 Nov 2017 20:19:34 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Thu, 2 Nov 2017 20:16:34 +0530 From: Karunakar P To: "'Gao, Liming'" , '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//+kkoD//wwmkIABpMmA//+YGQA= Date: Thu, 2 Nov 2017 14:46:33 +0000 Message-ID: References: <015701d3538a$c2c92230$485b6690$@insyde.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1775A1@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1775A1@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.111] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1062-23436.000 X-TM-AS-Result: No--18.043-5.0-31-10 X-imss-scan-details: No--18.043-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23436.000 X-TMASE-Result: 10--18.043000-10.000000 X-TMASE-MatchedRID: scwq2vQP8OFJtzxaLxhtW/YiLRVJ915DwPI816T179oiFs20Vxq/wmrr AGyO72KPM21CreAEMZgBW0uhJTasU+XzBBRraVbPdXu122+iJtqEroxSTl8M/Ss077RZMhYtLil uLirDrcea4+Jdp+nPCwjNQHbFXOG26Rtr/Su6qrjAJnGRMfFxyToSfZud5+GgOcqlsYvgKFUONn COtDoJBbJVaLhP+2nCHmGY/o4z88lDq2SVEk72KC/tubwHkCSX9yEa3tvzanYXeuQCqIxleSAHA opEd76vsjHT73QMe58Fmo9FGo7T+Cs7cqkiMKHc/koYYxY0vqekVh5/EFXQ2Q== X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0,39:0-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 14:42:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Then it works fine. But the problem is it may miss the backward compatibility with other compil= ers. I guess better to define as mentioned previously. Thank You, Karunakar -----Original Message----- From: Gao, Liming [mailto:liming.gao@intel.com]=20 Sent: Thursday, November 02, 2017 7:33 PM To: Karunakar P; 'Tim Lewis'; edk2-devel@lists.01.org Cc: Ye, Ting; Fu, Siyuan; Wu, Jiaxin Subject: RE: [edk2] Build error in StdLib with VS 2015 compiler 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