Bug 277959

Summary: Code generation wizard: fails to properly include std::vector
Product: [Applications] umbrello Reporter: greatbunzinni
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description greatbunzinni 2011-07-17 17:08:02 UTC
Version:           1.1
OS:                Linux

After running the code generation wizard to generate a set of C++ source code files, I've noticed that std::vector's header wasn't properly added.  Instead the following text line was added:

#include vector

Another issue is that none of my code uses std::vector, nor does it use std::string.  Yet, the code generation wizard tries to include those headers.

Reproducible: Didn't try

Steps to Reproduce:
1) run the code generation wizard
2) generate the source code files

Actual Results:  
The following string is included in the source code header files:

#include vector

Expected Results:  
If std::vector is a part of the design then it should be included as:

#include <vector>

OS: Linux (x86_64) release 2.6.38-10-generic
Compiler: cc
Comment 1 greatbunzinni 2011-07-19 09:01:55 UTC
I've noticed that the code generator wizard adds headers even when the "method body generator" is set without ticks in front of the headers which are displayed
Comment 2 Ralf Habacker 2016-09-19 23:14:05 UTC
The request version is unmaintained. If the bug persists in recent version 2.20.1 feel free to reopen this bug.