Hey guys,

We've had this annoying warning for a while now. We are apparently 
passing a const array of const strings to a function that expects a 
non-const array of const strings. Why is that? It can be potentially bad 
and should be fixed. Will anyone who knows what's the correct thing to 
do here do something about it? Warning:

../../src/modules/evas/engines/gl_common/evas_gl_api.c: In function 
'_evgld_glShaderSource':
../../src/modules/evas/engines/gl_common/evas_gl_api.c:1503:4: warning: 
passing argument 3 of 'glShaderSource' discards 'const' qualifier from 
pointer target type [enabled by default]
/usr/include/GL/glext.h:5794:21: note: expected 'const GLchar **' but 
argument is of type 'const char * const*'

--
Tom.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to