[Piglit] [Bug 97063] New: piglit_wfl_framework.c:287:4: error: void function 'parse_test_config' should not return a value [-Wreturn-type]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 24 06:44:11 UTC 2016


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

            Bug ID: 97063
           Summary: piglit_wfl_framework.c:287:4: error: void function
                    'parse_test_config' should not return a value
                    [-Wreturn-type]
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: regression
          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: 212f71dcff6cd80a02cc662661385c3de45a4a45 (master)

[  2%] Building C object
target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-framework-gl/piglit_wfl_framework.c.o
tests/util/piglit-framework-gl/piglit_wfl_framework.c:287:4: error: void
function
      'parse_test_config' should not return a value [-Wreturn-type]
                        return NULL;
                        ^      ~~~~
tests/util/piglit-framework-gl/piglit_wfl_framework.c:469:34: warning: passing
      'int32_t **' (aka 'int **') to parameter of type 'const int32_t **' (aka
'const int **') discards qualifiers in
      nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
                          partial_config_attrib_list, &attrib_list);
                                                      ^~~~~~~~~~~~
tests/util/piglit-framework-gl/piglit_wfl_framework.c:186:34: note: passing
argument to
      parameter 'attrib_list' here
                  const int32_t *attrib_list[])
                                 ^

-- 
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/20160724/f3d78af9/attachment.html>


More information about the Piglit mailing list