PK93248: QUINTUS : 225971
Closed as Permanent restriction.
Tied to pmr : 33081,220,616 Applying property UseNameSpace on the class level does not generate 'using namespace X' Steps to reproduce : 1. Create a new package X. 2. Check the DefineNameSpace property in CPP_CG:Package. 3. Create another new package Y. 4. Create a class Z in package Y. 5. Check the UseNameSpace property for class Z in CPP_CG:Dependecy. 6. Create a Usage Dependency between class Z and package X. 7. Generate code and check in Z.cpp that it has deceleration 'namespace X' instead of 'using namespace X'. Workaround. Either set the property directly on the dependency instead of the class OR uncheck and check the property for the property in the dependency
Workaround. Either set the property directly on the dependency instead of the class OR uncheck and check the property for the property in the dependency
If you apply the property CPP_CG::Dependency::UseNameSpace at the class level, the generated code does not contain "using namespace X".
There are no plans to change this behavior. The property CPP_CG::Dependency::UseNameSpace is designed to be applied to dependencies.
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following: