PP Namespace Question
Posted on 1998-11-21
I am having a problem with PP namespaces. When I create a project using standard Pro4 project stationary and build this project, I can reference PP classes directly with no namespace qualifier. For example, I can write:
(i.e., no "PP::" in front of the LWindow class name.)
However (and this is my question/problem), I have a project that came with Pro4 that is a debugging sample (specifically, "Debugging Classes Demo"). Everywhere I reference a PP class, I must prefix it with "PP::" OR put "PP_Begin_Namespace_PowerPlant/PP_End_Namespace_PowerPlant" pairs around my code. This is annoying and causes other problems (such as references to unqualified, global functions are now messed up). In the projects where I do NOT have to prefix with PP:: I see nothing different than in this debug project settings or include files I am having problems with.
Any ideas on why some projects are different than others in this namespace respect? Is there a project setting or some magic define somewhere that is in the stationary projects that is not set in this debug project?