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 73E182035560E for ; Mon, 6 Nov 2017 01:28:15 -0800 (PST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 536C982047; Mon, 6 Nov 2017 15:05:11 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 45FCC82046; Mon, 6 Nov 2017 15:05:11 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Mon, 6 Nov 2017 15:05:11 +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; Mon, 6 Nov 2017 15:02:09 +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//+YGQD/+T42UA== Date: Mon, 6 Nov 2017 09:32:09 +0000 Message-ID: References: <015701d3538a$c2c92230$485b6690$@insyde.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1775A1@SHSMSX104.ccr.corp.intel.com> In-Reply-To: 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-23444.006 X-TM-AS-Result: No--19.807-5.0-31-10 X-imss-scan-details: No--19.807-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23444.006 X-TMASE-Result: 10--19.807400-10.000000 X-TMASE-MatchedRID: HXSqh3WYKfvRhEyb9f1sjuYAh37ZsBDCUd7Bjfo+5jSOtR/F4zYXtNlM ASzPGs9UysGFhnj5m0moSEEfveL5mz9ETA4D04a18eSmTJSmEv169Yesg60QdyS30GKAkBxWcH5 j07hKBwGEffBdqJ9btxnqHI0mm0wI9XO+v7tbdJAwmhCbeOj6aVV+08YFNHSutZlFNOlIeiBqeZ +AzBMmzbMSfkcxQpTEliXG6TWiBACr3AD621ChzJ4CIKY/Hg3AyJ1gFgOMhOmig9GohOPnOK85G jho6PlWC24oEZ6SpSkj80Za3RRg8HFolTS8KKx3JKhuvzWhlLogDZ9zaajIB8xrtHc+3UfSdEGn M6JkXJM= 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: Mon, 06 Nov 2017 09:28:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What do you say... Thanks, Karunakar -----Original Message----- From: Karunakar P=20 Sent: Thursday, November 02, 2017 8:17 PM To: 'Gao, Liming'; '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 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