Closed
Bug 723122
Opened 13 years ago
Closed 13 years ago
fix clang build
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: espindola, Assigned: espindola)
References
Details
Attachments
(1 file)
480 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
See also bug 723114.
This patch is just a quick fix. Clang warns on GetImageFromSourceSurface via -Wreturn-type and we build with -Werror=return-type.
Attachment #593453 -
Flags: review?(joe)
Updated•13 years ago
|
Attachment #593453 -
Flags: review?(joe) → review?(jmuizelaar)
Updated•13 years ago
|
Attachment #593453 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment 5•13 years ago
|
||
And the next one :(
In file included from ../../../dist/include/nsCoreAnimationSupport.h:49:
../../../dist/include/nsIOSurface.h:48:7: error: redefinition of 'NSOpenGLContext' as different kind of symbol
Comment 6•13 years ago
|
||
That's bug 723618.
Comment 7•13 years ago
|
||
(Please can you set assignee when attaching patches, or if using bzexport, file a bug against it :-))
https://hg.mozilla.org/mozilla-central/rev/5a80e90839fd
Assignee: nobody → respindola
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Is it possible to get this into mozilla-beta? Today I've tried several times to build Thunderbird 12 with Clang, but it failed constantly with the error from Bug 723187. It takes me a hour or so to find out what the problem is and to find this Bug. Thanks.
Comment 9•13 years ago
|
||
(In reply to Nomis101 from comment #8)
> Is it possible to get this into mozilla-beta? Today I've tried several times
> to build Thunderbird 12 with Clang, but it failed constantly with the error
> from Bug 723187. It takes me a hour or so to find out what the problem is
> and to find this Bug. Thanks.
You could just export "-Wreturn-type" to turn the error into a warning and let the build finish.
Comment 10•13 years ago
|
||
I've applied this patch to fix the error, maybe your workaround would also help. But I think more about all the other users who are trying to build Firefox/Thunderbird 12 with Clang and run into the same error.
You need to log in
before you can comment on or make changes to this bug.
Description
•