Merge lp:~jani/unity-2d/fix_oneiric_build into lp:unity-2d/3.0
Proposed by
Jani Monoses
Status: | Merged |
---|---|
Approved by: | Olivier Tilloy |
Approved revision: | 555 |
Merged at revision: | 555 |
Proposed branch: | lp:~jani/unity-2d/fix_oneiric_build |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
31 lines (+7/-11) 1 file modified
libunity-2d-private/src/unity2dpanel.cpp (+7/-11) |
To merge this branch: | bzr merge lp:~jani/unity-2d/fix_oneiric_build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy (community) | Approve | ||
Review via email: mp+59739@code.launchpad.net |
Description of the change
Fixes GCC 4.6 build error by explicitly assigning to array elements. It makes the code a little more cryptic but there was no documentation before either :)
Oneiric uses 4.6 by default.
To post a comment you must log in.
That looks good to me. Not tested in Oneiric, but I’ll trust you that it fixes the FTBFS there, and it compiles and works fine in Natty too.
I have one question though: does the initialization to {} guarantees that the 12 values will always be initialized to 0 ?