Building against a recent Panda was broken for several reasons:
We do have an unordered_map header in Panda, so the #define was causing that to no longer parse correctly.
Panda3D no longer has using namespace std; (see panda3d/panda3d#335) so this adds that into config_lui.h for now. It would be even better to use using std::string; etc. for each individual thing that is used from std without prefix, or even to fix the headers to just use the std prefix.
Panda3D has nullptr_t overloads of PointerTo, so using NULL for PointerTo in a few places caused ambiguity. I've just replaced all instances of NULL with nullptr.
Building against a recent Panda was broken for several reasons:
unordered_map
header in Panda, so the #define was causing that to no longer parse correctly.using namespace std;
(see panda3d/panda3d#335) so this adds that intoconfig_lui.h
for now. It would be even better to useusing std::string;
etc. for each individual thing that is used fromstd
without prefix, or even to fix the headers to just use thestd
prefix.nullptr_t
overloads of PointerTo, so usingNULL
for PointerTo in a few places caused ambiguity. I've just replaced all instances ofNULL
withnullptr
.Fixes #47