Bug 277959 - Code generation wizard: fails to properly include std::vector
Summary: Code generation wizard: fails to properly include std::vector
Status: RESOLVED UNMAINTAINED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-17 17:08 UTC by greatbunzinni
Modified: 2016-09-19 23:14 UTC (History)
1 user (show)

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 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.