Skip to content
Snippets Groups Projects
P

piglit

Project ID: 3127
Forked from Mesa / piglit
Source project has a limited visibility.
user avatar
Ian Romanick authored
tests/fbo/fbo-blending-format-quirks.c: In function ‘piglit_display’:
tests/fbo/fbo-blending-format-quirks.c:157:40: warning: passing argument 2 of ‘test_formats’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   result = test_formats(cases[i].name, cases[i].formats,
                                        ^~~~~
tests/fbo/fbo-blending-format-quirks.c:45:27: note: expected ‘GLenum * {aka unsigned int *}’ but argument is of type ‘const GLenum * {aka const unsigned int *}’
 static enum piglit_result test_formats(const char *name, GLenum formats[2],
                           ^~~~~~~~~~~~
tests/fbo/fbo-blending-format-quirks.c:158:11: warning: passing argument 3 of ‘test_formats’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers]
           cases[i].expect, cases[i].factors);
           ^~~~~
tests/fbo/fbo-blending-format-quirks.c:45:27: note: expected ‘float (*)[4]’ but argument is of type ‘const float (*)[4]’
 static enum piglit_result test_formats(const char *name, GLenum formats[2],
                           ^~~~~~~~~~~~
tests/fbo/fbo-blending-format-quirks.c:158:28: warning: passing argument 4 of ‘test_formats’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
           cases[i].expect, cases[i].factors);
                            ^~~~~
tests/fbo/fbo-blending-format-quirks.c:45:27: note: expected ‘GLenum * {aka unsigned int *}’ but argument is of type ‘const GLenum * {aka const unsigned int *}’
 static enum piglit_result test_formats(const char *name, GLenum formats[2],
                           ^~~~~~~~~~~~

Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
20a342e6
History
Name Last commit Last update