Still no way to use C++ containers (and exceptions) please ? #5153
Unanswered
terminatorul
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
So many C++ libraries and code downright require use of containers and exceptions ... is there still no way to enable them in UEFI please ?
Even simple C strings do not work because EFI uses
CHAR16
, and aCHAR16
is neither awchar_t
, nor achar16_t
(it'sunsigned short
, at least on Windows MSVC) !And
Uefi.h
and library headers do not even haveextern "C"
guards inside... I have to write them manually around all my#include
s.This is such a big problem... it's one thing to not have the OS and OS libraries, but being unable to use a std::string or wstring (because the allocator may throw) is whole other level !
Beta Was this translation helpful? Give feedback.
All reactions