[Uml-devel] [Bug 277959] New: Code generation wizard: fails to properly include std::vector

greatbunzinni at gmail.com greatbunzinni at gmail.com
Sun Jul 17 17:08:02 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=277959

           Summary: Code generation wizard: fails to properly include
                    std::vector
           Product: umbrello
           Version: 1.1
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: greatbunzinni at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list