[Uml-devel] [Bug 141876] New: C++ code generator does not correctly define namespaces
Brad Markel
tigera at rocketmail.com
Sun Feb 18 18:07:09 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=141876
Summary: C++ code generator does not correctly define namespaces
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: tigera rocketmail com
Version: 1.5.61 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3.1)
Compiler: Target: i486-linux-gnu
OS: Linux (i686) release 2.6.17-10-generic
The code generator for C++ doesn't put the namespace declaration before the class declaration or definition for classes included in a package, the result being that the classes end up in the global namespace. For example, for a class B in package A, the declaration should look like:
namespace A
{
class B { };
};
But umbrello only generates
class B { };
More information about the umbrello-devel
mailing list