Bug 357372 - Add support for C++11
Summary: Add support for C++11
Status: RESOLVED DUPLICATE of bug 338649
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.17.2 (KDE Applications 15.08.2)
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL: http://github.com/milasudril/anja
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-31 18:46 UTC by milasudril
Modified: 2016-01-01 09:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***