[Mesa-dev] [Bug 105740] glsl_types.cpp(524): error: a dynamically-initialized local static variable is not allowed inside of a statement expression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 26 07:38:35 UTC 2018


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

            Bug ID: 105740
           Summary: glsl_types.cpp(524): error: a dynamically-initialized
                    local static variable is not allowed inside of a
                    statement expression
           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: robclark at freedesktop.org, t_arceri at yahoo.com.au

Intel C++ Compiler build error

glsl_types.cpp(524): error: a dynamically-initialized local static variable is
not allowed inside of a statement expression
     return VECN(components, float, vec);
            ^

commit f407edf3407396379e16b0be74b8d3b85d2ad7f0
Author: Rob Clark <robdclark at gmail.com>
Date:   Mon Mar 12 14:54:56 2018 -0400

    glsl_types: refactor/prep for vec8/vec16

    Refactor things so there isn't so much typing involved to add new
    things.

    Also drops a pointless conditional (out of bounds rows or columns
    already returns error_type in all paths.. might as well drop it
    rather than make the check more convoluted in the next patch by
    adding the vec8/vec16 case).

    Signed-off-by: Rob Clark <robdclark at gmail.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.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/20180326/67e90f29/attachment-0001.html>


More information about the mesa-dev mailing list