[E-devel] new evas compile warnings

2012-08-18 Thread Sung W. Park
Hi Mike,

Thanks for pointing out those warnings.  I will get on them as soon as I
get back.
I've been traveling for the past two weeks and I won't be back until
Monday.
They really should not have gotten in there in the first place.

Evas_GL has been getting really messy over the past year with workarounds,
optimizations, and bug fixes so I am actually in the process of rewriting
them so that the
common code can be shared among different engines: ie. wayland and gl_x11.

It'll be a lot cleaner for sure.

thanks.
Sung


On Saturday, August 18, 2012, Michael Blumenkrantz wrote:

> Making all in gl_common
>   CC   evas_gl_context.lo
>   CC   evas_gl_shader.lo
>   CC   evas_gl_rectangle.lo
>   CC   evas_gl_texture.lo
>   CC   evas_gl_image.lo
>   CC   evas_gl_font.lo
>   CC   evas_gl_polygon.lo
>   CC   evas_gl_line.lo
>   CC   evas_gl_filter.lo
> evas_gl_texture.c: In function '_tex_2d':
> evas_gl_texture.c:119:8: warning: the address of 'glGetTexLevelParameteriv'
> will always evaluate as 'true' CCLD libevas_engine_gl_common.la
> Making all in gl_x11
>   CC   module_la-evas_engine.lo
>   CC   module_la-evas_x_main.lo
> evas_engine.c: In function '_gl_ext_sym_init':
> evas_engine.c:542:115: warning: assignment from incompatible pointer type
> evas_engine.c:542:273: warning: assignment from incompatible pointer type
> evas_engine.c: In function 'eng_image_map_clean':
> evas_engine.c:2836:27: warning: unused parameter 'data'
> evas_engine.c:2836:43: warning: unused parameter 'm'
> evas_engine.c: In function '_print_gl_surface_info':
> evas_engine.c:3067:137: warning: cast from pointer to integer of different
> size
> evas_engine.c:3067:284: warning: cast from pointer to integer of different
> size
> evas_engine.c:3071:148: warning: cast from pointer to integer of different
> size
> evas_engine.c:3071:319: warning: cast from pointer to integer of different
> size
> evas_engine.c: In function '_set_gl_surface_cap':
> evas_engine.c:3131:28: warning: unused variable 'stencil'
> evas_engine.c:3131:21: warning: unused variable 'depth'
> evas_engine.c:3131:16: warning: unused variable 'tex'
> evas_engine.c:3131:11: warning: unused variable 'fbo'
> evas_engine.c: In function '_set_internal_config':
> evas_engine.c:3315:33: warning: comparison between signed and unsigned
> integer
> expressions evas_engine.c:3316:33: warning: comparison between signed and
> unsigned integer expressions evas_engine.c: In function
> '_create_rt_buffers':
> evas_engine.c:3557:4: warning: pointer targets in passing argument 2 of
> 'glGetIntegerv' differ in signedness /usr/include/GL/gl.h:842:45: note:
> expected 'GLint *' but argument is of type 'GLuint *' evas_engine.c: In
> function 'eng_gl_surface_create': evas_engine.c:3588:31: warning: unused
> variable 'rsc' evas_engine.c: In function 'eng_gl_surface_destroy':
> evas_engine.c:3682:31: warning: unused variable 'rsc'
> evas_engine.c: In function 'eng_gl_context_destroy':
> evas_engine.c:3827:31: warning: unused variable 'rsc'
> evas_engine.c: In function 'eng_gl_make_current':
> evas_engine.c:3969:30: warning: comparison between signed and unsigned
> integer
> expressions evas_engine.c: In function 'evgl_glGetShaderPrecisionFormat':
> evas_engine.c:4415:40: warning: unused parameter 'shadertype'
> evas_engine.c:4415:59: warning: unused parameter 'precisiontype'
>   CCLD module.la
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] new evas compile warnings

2012-08-18 Thread Michael Blumenkrantz
Making all in gl_common
  CC   evas_gl_context.lo
  CC   evas_gl_shader.lo
  CC   evas_gl_rectangle.lo
  CC   evas_gl_texture.lo
  CC   evas_gl_image.lo
  CC   evas_gl_font.lo
  CC   evas_gl_polygon.lo
  CC   evas_gl_line.lo
  CC   evas_gl_filter.lo
evas_gl_texture.c: In function '_tex_2d':
evas_gl_texture.c:119:8: warning: the address of 'glGetTexLevelParameteriv'
will always evaluate as 'true' CCLD libevas_engine_gl_common.la
Making all in gl_x11
  CC   module_la-evas_engine.lo
  CC   module_la-evas_x_main.lo
evas_engine.c: In function '_gl_ext_sym_init':
evas_engine.c:542:115: warning: assignment from incompatible pointer type
evas_engine.c:542:273: warning: assignment from incompatible pointer type
evas_engine.c: In function 'eng_image_map_clean':
evas_engine.c:2836:27: warning: unused parameter 'data'
evas_engine.c:2836:43: warning: unused parameter 'm'
evas_engine.c: In function '_print_gl_surface_info':
evas_engine.c:3067:137: warning: cast from pointer to integer of different size
evas_engine.c:3067:284: warning: cast from pointer to integer of different size
evas_engine.c:3071:148: warning: cast from pointer to integer of different size
evas_engine.c:3071:319: warning: cast from pointer to integer of different size
evas_engine.c: In function '_set_gl_surface_cap':
evas_engine.c:3131:28: warning: unused variable 'stencil'
evas_engine.c:3131:21: warning: unused variable 'depth'
evas_engine.c:3131:16: warning: unused variable 'tex'
evas_engine.c:3131:11: warning: unused variable 'fbo'
evas_engine.c: In function '_set_internal_config':
evas_engine.c:3315:33: warning: comparison between signed and unsigned integer
expressions evas_engine.c:3316:33: warning: comparison between signed and
unsigned integer expressions evas_engine.c: In function '_create_rt_buffers':
evas_engine.c:3557:4: warning: pointer targets in passing argument 2 of
'glGetIntegerv' differ in signedness /usr/include/GL/gl.h:842:45: note:
expected 'GLint *' but argument is of type 'GLuint *' evas_engine.c: In
function 'eng_gl_surface_create': evas_engine.c:3588:31: warning: unused
variable 'rsc' evas_engine.c: In function 'eng_gl_surface_destroy':
evas_engine.c:3682:31: warning: unused variable 'rsc'
evas_engine.c: In function 'eng_gl_context_destroy':
evas_engine.c:3827:31: warning: unused variable 'rsc'
evas_engine.c: In function 'eng_gl_make_current':
evas_engine.c:3969:30: warning: comparison between signed and unsigned integer
expressions evas_engine.c: In function 'evgl_glGetShaderPrecisionFormat':
evas_engine.c:4415:40: warning: unused parameter 'shadertype'
evas_engine.c:4415:59: warning: unused parameter 'precisiontype'
  CCLD module.la

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] new evas compile warnings

2012-02-26 Thread The Rasterman
On Sat, 25 Feb 2012 03:28:40 -0500 Michael Blumenkrantz
 said:

> Making all in gl_x11
>   CC module_la-evas_engine.lo
>   CC module_la-evas_x_main.lo
> evas_engine.c: In function '_sym_init':
> evas_engine.c:519:115: warning: assignment from incompatible pointer type
> evas_engine.c:519:273: warning: assignment from incompatible pointer type
> evas_engine.c: In function 'compute_gl_coordinates':
> evas_engine.c:3558:23: warning: unused variable 'oy2'
> evas_engine.c:3558:18: warning: unused variable 'ox2'
> evas_engine.c:3558:13: warning: unused variable 'oy1'
> evas_engine.c:3558:8: warning: unused variable 'ox1'
> evas_engine.c:3557:23: warning: unused variable 'ny2'
> evas_engine.c:3557:18: warning: unused variable 'nx2'
> evas_engine.c:3557:13: warning: unused variable 'ny1'
> evas_engine.c:3557:8: warning: unused variable 'nx1'

it warns no more.. well first 2 warns just make no sense... it's doing the
right thing... hmmm.

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] new evas compile warnings

2012-02-25 Thread Michael Blumenkrantz
Making all in gl_x11
  CC module_la-evas_engine.lo
  CC module_la-evas_x_main.lo
evas_engine.c: In function '_sym_init':
evas_engine.c:519:115: warning: assignment from incompatible pointer type
evas_engine.c:519:273: warning: assignment from incompatible pointer type
evas_engine.c: In function 'compute_gl_coordinates':
evas_engine.c:3558:23: warning: unused variable 'oy2'
evas_engine.c:3558:18: warning: unused variable 'ox2'
evas_engine.c:3558:13: warning: unused variable 'oy1'
evas_engine.c:3558:8: warning: unused variable 'ox1'
evas_engine.c:3557:23: warning: unused variable 'ny2'
evas_engine.c:3557:18: warning: unused variable 'nx2'
evas_engine.c:3557:13: warning: unused variable 'ny1'
evas_engine.c:3557:8: warning: unused variable 'nx1'

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel