[Piglit] [Bug 103248] New: piglit-util.h:308:8: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 12 21:52:16 UTC 2017


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

            Bug ID: 103248
           Summary: piglit-util.h:308:8: error: cannot initialize a
                    variable of type 'char *' with an rvalue of type
                    'const char *'
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tests
          Assignee: piglit at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: piglit at lists.freedesktop.org
                CC: emil.l.velikov at gmail.com

piglit: 2ed689c10431b0732e795b9497726d3da8c88f4c (master)

[  0%] Building CXX object
target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-fbo.cpp.o
In file included from piglit/tests/util/piglit-fbo.cpp:31:
In file included from piglit/tests/util/piglit-fbo.h:29:
In file included from piglit/tests/util/piglit-util-gl.h:35:
piglit/tests/util/piglit-util.h:308:8: error: cannot initialize a variable of
type 'char *' with an rvalue of type 'const char *'
        char *t = strchr(s, c);
              ^   ~~~~~~~~~~~~

-- 
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/piglit/attachments/20171012/89113f13/attachment.html>


More information about the Piglit mailing list