[Openchrome-devel] [Bug 96399] New build warnings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 13 18:21:19 UTC 2016


--- Comment #3 from Kevin Brace <kevinbrace at gmx.com> ---
(In reply to Xavier Bachelot from comment #0)

Hi Xavier,

> Several build warnings have appeared in the previous months. Here are the
> relevant extracts of a build log. This is a plain build of the master branch
> on a fully updated Fedora 23.
> via_outputs.c: In function ‘viaProbePinStrapping’:
> via_outputs.c:1202:17: warning: switch condition has boolean value
> [-Wswitch-bool]
>          switch (sr13 && 0xC0) {
>                  ^

I hope the patch I uploaded fixes the compilation warning.
I hope it fixes the warning.

> via_ums.c: In function ‘umsCreate’:
> via_ums.c:711:11: warning: implicit declaration of function
> ‘xf86InitFBManager’ [-Wimplicit-function-declaration]
>      ret = xf86InitFBManager(pScreen, &AvailFBArea);
>            ^
> via_ums.c:722:9: warning: implicit declaration of function
> ‘xf86InitFBManagerLinear’ [-Wimplicit-function-declaration]
>          xf86InitFBManagerLinear(pScreen, offset, size);
>          ^
> I have seen more build warnings when building in a Fedora 23 chroot with the
> Fedora enforced compile options, which enables more warnings than the plain
> build. I'll report on them later, once I've taken a deeper look.

That one I think comes from the code that is used to support XAA.
When going through EXA code path, OpenChrome does not encounter the above API
(or ABI or KPI).
That being said, I do not know if it still has to be there for those compiling
OpenChrome without the use of EXA or XAA (i.e., xBSD).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160613/30b58272/attachment.html>

More information about the Openchrome-devel mailing list