There is no C++ support in EDK2. There are a number of obstacles to making C++
support work. You have found one of them.
Tim
From: Volodymyr Sharovar [mailto:[email protected]]
Sent: Sunday, February 03, 2013 7:50 PM
To: [email protected]
Subject: [edk2] UEFI build fails when using .cpp
Hello,
I am a new person in UEFI development. I've gotten a task to develop a UEFI
application, which should be written by using C++ language. I see that all
examples in UDK developed using C not C++. I wonder if it is possible to use
C++ for UEFI development.
I tried to build a simple C++ application and I got following errors:
c:\new_myworkspace\MdePkg\Include\Base.h(48) :
error C2220: warning treated as error - no 'object' file generated
c:\new_myworkspace\MdePkg\Include\Base.h(48) : warning C4804: '/' : unsafe use
of type 'bool' in operation
c:\new_myworkspace\MdePkg\Include\Base.h(49) : warning C4804: '/' : unsafe use
of type 'bool' in operation
Using C language for building the application I didn't get any error.
I would appreciate any help about using C++ for UEFI developing.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel