Enable nullptr
C++ keyword support
extras-nullptr
Purpose/History
For many years C++ had an embarrassment of not having a keyword to designate a null pointer. C++11 has eliminated that embarrassment with the nullptr
keyword. C++'s strong type checking makes C's NULL macro almost useless in expressions.
As compilers not supportign C++11 do not have it, you can add it by including this into the header of any C++ code file:
The explanation & code is from here https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/nullptr
Requirements
- A x86 version of Windows 2003 / XP SP1 with source code available: see https://rentry.co/build-win2k3
\base\extras
folder - where (global) common .c/.h files are stored
Changes
Add the following nullptr_emulation.h
under the \base\extras\include
folder: