[Mesa-dev] [Bug 99701] loader.c:353:8: error: implicit declaration of function 'geteuid' is invalid in C99 [-Werror, -Wimplicit-function-declaration]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 7 00:43:23 UTC 2017


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

            Bug ID: 99701
           Summary: loader.c:353:8: error: implicit declaration of
                    function 'geteuid' is invalid in C99
                    [-Werror,-Wimplicit-function-declaration]
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (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: eric at anholt.net, nhaehnle at gmail.com

mesa: 47ca0f537dfbc03f0eb0cb12fdee06dbe664fbc7 (master 17.1.0-devel)

  CC       libloader_la-loader.lo
loader.c:353:8: error: implicit declaration of function 'geteuid' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
   if (geteuid() == getuid()) {
       ^

commit 3f462050c29dc29139732987c9c9ef9a670133ab
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Feb 3 11:02:59 2017 -0800

    loader: Add an environment variable to override driver name choice.

    My vc4 simulator has been implemented so far by having an entrypoint
    claiming to be i965, which was a bit gross.  The simulator would be a lot
    less special if we entered through the vc4 entrypoint like normal, so add
    a loader environment variable to allow the i965 fd to probe as vc4.

    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170207/73593b93/attachment.html>


More information about the mesa-dev mailing list