public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Karunakar P <karunakarp@amiindia.co.in>
To: 'Tim Lewis' <tim.lewis@insyde.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "'Ye, Ting'" <ting.ye@intel.com>,
	"'Fu, Siyuan'" <siyuan.fu@intel.com>,
	"'Wu, Jiaxin'" <jiaxin.wu@intel.com>
Subject: Re: Build error in StdLib with VS 2015 compiler
Date: Thu, 2 Nov 2017 12:32:16 +0000	[thread overview]
Message-ID: <A885E3F3F1F22B44AF7CC779C062228EE069275B@VENUS1.in.megatrends.com> (raw)
In-Reply-To: <015701d3538a$c2c92230$485b6690$@insyde.com>

It is C only.

-Karunakar

-----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

Are you building C++ (.cpp)? Tim

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Karunakar P
Sent: Wednesday, November 1, 2017 8:27 PM
To: 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org>
Cc: 'Ye, Ting' <ting.ye@intel.com>; 'Fu, Siyuan' <siyuan.fu@intel.com>; 'Wu, Jiaxin' <jiaxin.wu@intel.com>
Subject: Re: [edk2] Build error in StdLib with VS 2015 compiler

Any comment on this?

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

Hello All,

Facing an build error with Stdlib module when built with VS 2015 compiler.

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

below change resolving this error. Would you please review and provide comments.

#ifndef __STDC_HOSTED__
#define __STDC_HOSTED__ 1
#endif


Thank You,
Karunakar
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel



  reply	other threads:[~2017-11-02 12:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31  9:48 Build error in StdLib with VS 2015 compiler Karunakar P
2017-11-02  3:26 ` Karunakar P
2017-11-02  3:29   ` Tim Lewis
2017-11-02 12:32     ` Karunakar P [this message]
2017-11-02 14:02       ` Gao, Liming
2017-11-02 14:46         ` Karunakar P
2017-11-06  9:32           ` Karunakar P
2017-11-06 13:28             ` Gao, Liming
2017-11-07 10:56               ` Karunakar P

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A885E3F3F1F22B44AF7CC779C062228EE069275B@VENUS1.in.megatrends.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox