The truth is: those intrinsics are already in EDK2, but only in the StdLib. One of the things I'm hoping for with the standalone version of the StdLib is the ability to link with it just to get the intrinsics so I don't have to use the Mult64 versions.
-----Original Message----- From: Laszlo Ersek [mailto:[email protected]] Sent: Wednesday, February 06, 2013 1:28 PM To: [email protected] Subject: Re: [edk2] Fix for stdlib and cpp building. On 02/06/13 22:04, Mcdaniel, Daryl 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. [...] > Then, of course, there is the issue of coming up with solutions that > work for all supported compilers and all supported CPU architectures, > is maintainable, and does not add an undue burden to other developers. If nowhere else, my guess is that this would be the spot where the undertaking bleeds to death. As of today, I'm not allowed to use *structure assignment*, or the *division operator* with UINT64, in edk2, because supported C compilers generate different code for them, or something like that. Laszlo ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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
