| Summary: | C++ code generator does not qualify member functions | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Brad Markel <tigera> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.5.2 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Yeah, stupid me, this is a duplicate of 126489. That's twice today... |
Version: 1.5.2 (using KDE KDE 3.5.2) Installed from: Ubuntu Packages Compiler: gcc-4.0.3 OS: Linux Perhaps this is only a matter of style, but it would be nice to see that class members were qualified in their implementation file. Right now, for a class C with member M, the definition doesn't start with C::, instead only listing the function name: //C.h header: class C { public: void Fxn(); }; //C.cpp implementation (as generated by Umbrello): void Fxn() { } This could cause name collisions, especially when dealing with multiple inheritance, that could cause a large project not to compile and cause problems with other compilers besides gcc.