Bug 129721 - C++ code generator does not qualify member functions
Summary: C++ code generator does not qualify member functions
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.5.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 22:08 UTC by Brad Markel
Modified: 2006-06-24 01:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Markel 2006-06-23 22:08:58 UTC
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.
Comment 1 Brad Markel 2006-06-24 01:07:06 UTC
Yeah, stupid me, this is a duplicate of 126489.  That's twice today...