Compile errors with VC++ 6

We haven’t attempted to build Panda using VC6 in years, so there may be quite a few compilation errors like this, since VC6 is a pretty fussy compiler.

For this particular error, change the line:

extern "C" EXPCL_DTOOL  int get_best_parent_from_Set(int id, const std::set<int> &set);

To:

extern "C" EXPCL_DTOOL  int get_best_parent_from_Set(int id, const std::set<int> &this_set);

And make similar changes in typeRegistry.cxx. (In VC6, you weren’t allowed to have a variable name the same as a template name, so “set” is not a valid variable name in VC6.)

Then we’ll see what error you get next. This might be a long process. :frowning:

For the record, we currently build Panda using VC7 in the VR Studio. All of the thirdparty examples are compiled using VC7. You will probably have the best luck if you can find a copy of this compiler.

David