Re: [E-devel] Evas engines gl_common annoying warning
And that's *really* bad. Is that something we control? If so, this should be fixed immediately. -- Tom. On 21/04/13 14:37, ChunEon Park wrote: Since the specs of the API are different. //GLES void glShaderSource(GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length); //GL void glShaderSource(GLuint shader, GLsizei count, const GLchar ** string, const GLint * length); -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-04-18 (목) 20:45:00 Subject: [E-devel] Evas engines gl_common annoying warning 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 -- 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 -- 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
Re: [E-devel] Evas engines gl_common annoying warning
On 22/04/13 13:48, Tom Hacohen wrote: And that's *really* bad. Is that something we control? If so, this should be fixed immediately. Just to clarify what I meant, as I got an angry message from Cedric: I was asking if it's part of the standard, or if it's an internal API. Anyhow, if it's a problem with the standard being broken, we should cast it. If it's the standard requiring something we don't provide (being able to edit that), we should fix that. That should be fixed, or muffled. -- 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
Re: [E-devel] Evas engines gl_common annoying warning
FIxed already. Usually, APIs are gonna win even if they are critically suck. Users don't have any choices. -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: ChunEon Parkher...@naver.com; Sent: 2013-04-22 (월) 21:48:08 Subject: Re: [E-devel] Evas engines gl_common annoying warning And that's *really* bad. Is that something we control? If so, this should be fixed immediately. -- Tom. On 21/04/13 14:37, ChunEon Park wrote: Since the specs of the API are different. //GLES void glShaderSource(GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length); //GL void glShaderSource(GLuint shader, GLsizei count, const GLchar ** string, const GLint * length); -Regards, Hermet- -Original Message- From: Tom Hacohentom.hacohen@samsung.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-04-18 (목) 20:45:00 Subject: [E-devel] Evas engines gl_common annoying warning 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 -- 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 -- 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
Re: [E-devel] Evas engines gl_common annoying warning
Since the specs of the API are different. //GLES void glShaderSource(GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length); //GL void glShaderSource(GLuint shader, GLsizei count, const GLchar ** string, const GLint * length); -Regards, Hermet- -Original Message- From: Tom Hacohentom.haco...@samsung.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-04-18 (목) 20:45:00 Subject: [E-devel] Evas engines gl_common annoying warning 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 -- 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
[E-devel] Evas engines gl_common annoying warning
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