[umbrello] [Bug 377613] New: c++ codegenerator creates uncompilable code using compositions
Ralf Habacker
bugzilla_noreply at kde.org
Tue Mar 14 14:32:21 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=377613
Bug ID: 377613
Summary: c++ codegenerator creates uncompilable code using
compositions
Product: umbrello
Version: 2.21.2 (KDE Applications 16.12.2)
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: ralf.habacker at freenet.de
Target Milestone: ---
Generating code from the appended xmi file is uncompilable because
1. the class member m_fileVector is of type 'std::vector<File*> while void
addFile (File add_object) declaration uses full class
2. same as 1. with void removeFile (File remove_object);
3. The method definitions of 1. are of 'void Folder::addFile (File *
add_object)' which differs from the declaration
4. same as 3 with 'void Folder::removeFile (File * remove_object)'
5. Folder::getFileList is defined as 'std::vector<File> getFileList ()' while
it is defined as 'std::vector<File *> Folder::getFileList()'
How to reproduce:
1. start umbrello and load the appended xmi file
2. Generate c++ code
3. try to compile Folder.cpp
What happens:
The generated files are uncompilable
What is expected:
The generated files should be compilable
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list