[Geany-devel] Geany-Plugins: A couple of compiler warnings

Frank Lanitz frank at xxxxx
Sun Oct 2 20:43:26 UTC 2011


Hi folks, 

Sorry to be a pain in the ass but I'm still receiving a couple of compiler
warnings when I'm compiling the geany-plugins at my AMD64 box. Can you
please be so kind and have a look and double check, these warnings can
be ignored or even better fixed? 
I will copy in the warnings I'm receiving on building with waf: 

../debugger/src/dpaned.c: In function 'on_change_current_page':
../debugger/src/dpaned.c:264:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../debugger/src/dpaned.c: In function 'dpaned_set_tabbed':
../debugger/src/dpaned.c:432:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[ 32/194] c: debugger/src/dconfig.c -> _build_/debugger/src/dconfig.c.1.o
[ 32/194] c: debugger/src/breakpoints.c -> _build_/debugger/src/breakpoints.c.1.o
../debugger/src/dconfig.c: In function 'config_set_panel':
../debugger/src/dconfig.c:350:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../debugger/src/dconfig.c:361:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../debugger/src/dconfig.c:372:90: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../debugger/src/dconfig.c:383:91: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[...]
../geanylua/glspi_init.c:276:0: warning: "isblank" redefined [enabled by default]
/usr/include/ctype.h:186:0: note: this is the location of the previous definition
[106/194] c: geanylua/glspi_dlg.c -> _build_/geanylua/glspi_dlg.c.2.o
../geanylua/glspi_app.c: In function 'glspi_xsel':
../geanylua/glspi_app.c:113:4: warning: passing argument 3 of 'lua_tolstring' from incompatible pointer type [enabled by default]
/usr/include/lua5.1/lua.h:149:26: note: expected 'size_t *' but argument is of type 'guint *'
../geanylua/glspi_app.c: In function 'glspi_keygrab':
../geanylua/glspi_app.c:582:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[108/194] c: geanylua/glspi_doc.c -> _build_/geanylua/glspi_doc.c.2.o
[109/194] c: geanylua/glspi_kfile.c -> _build_/geanylua/glspi_kfile.c.2.o
[109/194] c: geanylua/glspi_run.c -> _build_/geanylua/glspi_run.c.2.o
[110/194] c: geanylua/glspi_sci.c -> _build_/geanylua/glspi_sci.c.2.o
../geanylua/glspi_sci.c: In function 'glspi_copy':
../geanylua/glspi_sci.c:470:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]


Please feel free to get in touch with me for some further debugging. 

Cheers, 
Frank 

P.S. Please remember to run make check on developing as a number of 
these cause a warning also there. 

-- 
http://frank.uvena.de/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20111002/e42d594c/attachment.pgp>


More information about the Devel mailing list