[Mesa-dev] [Bug 99244] hud_context.c:874:45: error: ‘W_OK’ undeclared
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 2 01:30:29 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99244
Bug ID: 99244
Summary: hud_context.c:874:45: error: ‘W_OK’ undeclared
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: vlee at freedesktop.org
QA Contact: mesa-dev at lists.freedesktop.org
CC: edmondo at eriadon.com, maraeo at gmail.com
mesa: 3f5fba8a7be61bfc0f46a5ea058108f6e0e1c268 (master 13.1.0-devel)
Compiling src/gallium/auxiliary/hud/hud_context.c ...
src/gallium/auxiliary/hud/hud_context.c: In function ‘hud_graph_set_dump_file’:
src/gallium/auxiliary/hud/hud_context.c:874:24: warning: implicit declaration
of function ‘access’ [-Wimplicit-function-declaration]
if (hud_dump_dir && access(hud_dump_dir, W_OK) == 0) {
^~~~~~
src/gallium/auxiliary/hud/hud_context.c:874:45: error: ‘W_OK’ undeclared (first
use in this function)
if (hud_dump_dir && access(hud_dump_dir, W_OK) == 0) {
^~~~
22cd9040da75cac6e1c61b821e1ac6906ac4a8ac is the first bad commit
commit 22cd9040da75cac6e1c61b821e1ac6906ac4a8ac
Author: Edmondo Tommasina <edmondo.tommasina at gmail.com>
Date: Wed Dec 21 22:58:09 2016 +0100
gallium/hud: dump hud_driver_query values to files
Dump values for every selected data source in GALLIUM_HUD.
Every data source has its own file and the filename is
equal to the data source identifier.
Set GALLIUM_HUD_DUMP_DIR to dump values to files in this directory.
No values are dumped if the environment variable is not set, the
directory doesn't exist or the user doesn't have write access.
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
:040000 040000 c269ea1aa72e829368e14dc3f923521c2d2de355
e297a9c27c8397302ab9ba61578eacab98cb8bc3 M src
bisect run success
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170102/a65306e3/attachment.html>
More information about the mesa-dev
mailing list