Merge lp:~unity-team/qtmir/build_with_clang into lp:qtmir
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2015-10-02 |
| Approved revision: | 390 |
| Merged at revision: | 413 |
| Proposed branch: | lp:~unity-team/qtmir/build_with_clang |
| Merge into: | lp:qtmir |
| Prerequisite: | lp:~unity-team/qtmir/liveCaption |
| Diff against target: |
134 lines (+12/-12) 8 files modified
src/modules/Unity/Application/desktopfilereader.cpp (+2/-1) src/modules/Unity/Application/mirsurfaceitem.h (+1/-1) src/modules/Unity/Application/objectlistmodel.h (+1/-1) src/platforms/mirserver/qmirserver.cpp (+1/-1) src/platforms/mirserver/qmirserver_p.h (+2/-1) tests/modules/common/fake_mirsurface.h (+1/-3) tests/modules/common/qtmir_test.h (+1/-1) tests/modules/common/stub_scene_surface.h (+3/-3) |
| To merge this branch: | bzr merge lp:~unity-team/qtmir/build_with_clang |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2015-10-01 | Approve on 2015-10-02 | |
| PS Jenkins bot | continuous-integration | 2015-10-01 | Needs Fixing on 2015-10-01 |
| Alan Griffiths | 2015-10-01 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-09-30.
Commit Message
Build with clang (tests/gmock fails and is unfixable on our side i'd say)
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No, but https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:383
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
-struct QMirServerPrivate
+class QMirServerPrivate
It looks like a struct to me.
| Albert Astals Cid (aacid) wrote : | # |
> -struct QMirServerPrivate
> +class QMirServerPrivate
>
> It looks like a struct to me.
but it's used in a
Q_DECLARE_
that forward declares it as a class.
| Gerry Boland (gerboland) wrote : | # |
Test build shows all CLang errors are due to:
1. gtest/gmock
2. Qt private headers
3. Mir (for which a fix has landed upstream)
Thus I'm happy.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:389
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:390
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://

- argv[argc] = '\0';
+ argv[argc] = "\0";
This changes the meaning to be incorrect. It should be:
argv[argc] = nullptr;