Linaro Android can be built in ISO C++11 mode
Parts of Linaro Android that are written in C++ can build in ISO C++ 11 mode.
While this does not bring any immediate benefits, it opens the door to using C++11 specific optimizations (such as rvalue references), and will make the compiler update easier when gcc switches to ISO C++11 by default.
Blueprint information
- Status:
- Complete
- Approver:
- Zach Pfeffer
- Priority:
- Medium
- Drafter:
- Bernhard Rosenkraenzer
- Direction:
- Approved
- Assignee:
- Bernhard Rosenkraenzer
- Definition:
- Approved
- Series goal:
- Accepted for 2012q1
- Implementation:
- Implemented
- Milestone target:
- 12.05
- Started by
- Bernhard Rosenkraenzer
- Completed by
- Bernhard Rosenkraenzer
Related branches
Related bugs
Sprints
Whiteboard
Notes:
[2012/4/30 pfefferz] Put notes here.
Meta:
Roadmap id: ANDROID2012-
Headline: Linaro Android can be built in ISO C++11 mode
Acceptance: Linaro Android can be built in ISO C++11 mode
Work Items
Work items:
Add -std=gnu++11 to the CXX flags for compilers supporting it (gcc 4.7+) [locally]: DONE
Run a build, see what breaks: DONE
Fix frameworks/base: DONE
Fix platform/core: DONE
Fix WebKit: DONE
Fix Camera: DONE
Fix v8: DONE
Fix SKIA: DONE
Fix powertop: DONE
Fix oprofile: DONE
Fix dalvik: DONE
Add -std=gnu++11 in official tree: DONE