[Openchrome-devel] [Bug 94660] fix compilation after recent rename

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 24 02:08:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94660

--- Comment #1 from Kevin Brace <kevinbrace at gmx.com> ---
(In reply to Benno Schulenberg from comment #0)

Hi Benno,

> Created attachment 122480 [details] [review]
> renames also the prototype
> 
> When renaming UnmapMem to UnmapMMIO it was forgotten to rename also the
> prototype in the header file.  Attached patch fixes that.
> 
> However, with that fix I still cannot compile openchrome.  (I have started
> using -Werror, to not allow any warnings to slip by unnoticed: export
> CFLAGS="-g -O2 -Werror" && ./configure && make clean all).
> 
> via_ums.c: In functie ‘ums_create’:
> via_ums.c:657:11: fout: impliciete declaratie van functie
> ‘xf86InitFBManager’ [-Werror=implicit-function-declaration]
>      ret = xf86InitFBManager(pScreen, &AvailFBArea);
>            ^
> via_ums.c:668:9: fout: impliciete declaratie van functie
> ‘xf86InitFBManagerLinear’ [-Werror=implicit-function-declaration]
>          xf86InitFBManagerLinear(pScreen, offset, size);
> 
> It seems some xf86 header include is missing.

Thank you very much for catching my error.
Due to some development issues, I still do not use Eclipse IDE for the master
branch code I work on (I am using gedit right now.).
If I were using Eclipse IDE, I would have caught this mistake since it does
have a powerful keyword search feature, and I would have used it.
In the near future, I will likely integrate my master branch code with Eclipse
IDE after I make a commit related to the rewrite of standby resume code.
After that one, I will commit your fix with the following section added after
your Signed-off-by line.

Acked-by: Kevin Brace <kevinbrace at gmx.com>

I hope that is okay.

-- 
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/20160324/329349a9/attachment.html>


More information about the Openchrome-devel mailing list