[Mesa-dev] [Bug 92183] linker.cpp:3187:46: error: ‘strtok_r’ was not declared in this scope

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 29 14:22:39 PDT 2015


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

            Bug ID: 92183
           Summary: linker.cpp:3187:46: error: ‘strtok_r’ was not declared
                    in this scope
           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: lemody at gmail.com, marta.lofstedt at intel.com

mesa: cb758b892a7e62ff1f6187f2ca9ac543ff70a096 (master 11.1.0-devel)

MinGW and MSVC build error

  Compiling src/glsl/linker.cpp ...
src/glsl/linker.cpp: In function ‘bool included_in_packed_varying(ir_variable*,
const char*)’:
src/glsl/linker.cpp:3187:46: error: ‘strtok_r’ was not declared in this scope
    char *token = strtok_r(list, ",", &saveptr);
                                              ^

commit 4639cea2921669527eb43dcb49724c05afb27e8e
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Fri Sep 4 11:30:34 2015 +0300

    glsl: add packed varyings to program resource list

    This makes sure that user is still able to query properties about
    variables that have gotten packed by lower_packed_varyings pass.

    Fixes following OpenGL ES 3.1 test:
       ES31-CTS.program_interface_query.separate-programs-vertex

    v2: fix 'name included in packed list' check (Ilia Mirkin)
    v3: iterate over instances of name using strtok_r (Ilia Mirkin)

    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Marta Lofstedt <marta.lofstedt at intel.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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150929/fc94d564/attachment-0001.html>


More information about the mesa-dev mailing list