On Feb 6, 2013, at 1:04 PM, "Mcdaniel, Daryl" <[email protected]> wrote:

> I have actually been looking into this.  Essentially all core EDK II headers 
> need to have the #ifdef cplusplus wrapper added.  Many files in StdLib have 
> this wrapper but not all, and some of those that do need to be a bit more 
> inclusive.

Why does the C code in edk2 have to change to support C++. The C++ can do.

extern "C" {
  #include <Uefi.h>
} 

I don't think we have name collisions in the MdePkg so it should just kind of 
work?

By definition the edk2 headers are C and not C/C++. 

Thanks,

Andrew
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to