Bug 357372

Summary: Add support for C++11
Product: [Applications] umbrello Reporter: milasudril
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 2.17.2 (KDE Applications 15.08.2)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: http://github.com/milasudril/anja
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description milasudril 2015-12-31 18:46:33 UTC
It seems like the code importer has problem with C++11.  For example

    static std::unique_ptr<SessionFileReader,Destructor>
    create(const char* filename)
        {return {instanceCreate(filename),destroy};}

Generates syntax error. It would be nice to upgrade the C++ parser so C++11 syntax works correctly. Have the project team considered using Clang instead of "roll your own"?

Reproducible: Always

Steps to Reproduce:
Import a C++11 project

Actual Results:  
Syntax errors

Expected Results:  
No syntax errors should appear, if the all scanned files would have passed the real compiler
Comment 1 milasudril 2016-01-01 09:38:31 UTC

*** This bug has been marked as a duplicate of bug 338649 ***