infin8 / gwrite

Automatically exported from code.google.com/p/gwrite
GNU Lesser General Public License v3.0
1 stars 0 forks source link

python-jswebkit compiler warnings #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
running install
running build
running build_ext
skipping 'jswebkit.c' Cython extension (up-to-date)
building 'jswebkit' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG 
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC 
-I/usr/include/python2.7 -c jswebkit.c -o build/temp.linux-i686-2.7/jswebkit.o 
-pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libxml2
jswebkit.c: In function ‘__pyx_f_8jswebkit_jsValueToPython’:
jswebkit.c:681:5: warning: passing argument 1 of 
‘PyUnicodeUCS4_DecodeUTF16’ from incompatible pointer type [enabled by 
default]
In file included from /usr/include/python2.7/Python.h:85:0,
                 from jswebkit.c:4:
/usr/include/python2.7/unicodeobject.h:872:23: note: expected ‘const char 
*’ but argument is of type ‘const JSChar *’
jswebkit.c:725:5: warning: passing argument 2 of ‘JSObjectIsFunction’ 
discards ‘const’ qualifier from pointer target type [enabled by default]
In file included from jswebkit.c:115:0:
/usr/include/webkitgtk-1.0/JavaScriptCore/JSObjectRef.h:605:16: note: expected 
‘JSObjectRef’ but argument is of type ‘JSValueRef’
jswebkit.c:748:136: warning: passing argument 3 of ‘((struct 
__pyx_vtabstruct_8jswebkit_JSFunction 
*)__pyx_v_jsFunction->__pyx_base.__pyx_vtab)->__pyx_base.setup’ discards 
‘const’ qualifier from pointer target type [enabled by default]
jswebkit.c:748:136: note: expected ‘JSObjectRef’ but argument is of type 
‘JSValueRef’
jswebkit.c:785:26: warning: passing argument 3 of 
‘__pyx_v_jsObject->__pyx_vtab->setup’ discards ‘const’ qualifier from 
pointer target type [enabled by default]
jswebkit.c:785:26: note: expected ‘JSObjectRef’ but argument is of type 
‘JSValueRef’
jswebkit.c: In function ‘__pyx_f_8jswebkit_JSStringRefToPython’:
jswebkit.c:1075:3: warning: passing argument 1 of 
‘PyUnicodeUCS4_DecodeUTF16’ from incompatible pointer type [enabled by 
default]
In file included from /usr/include/python2.7/Python.h:85:0,
                 from jswebkit.c:4:
/usr/include/python2.7/unicodeobject.h:872:23: note: expected ‘const char 
*’ but argument is of type ‘const JSChar *’
jswebkit.c: In function ‘__pyx_pf_8jswebkit_9JSContext_EvaluateScript’:
jswebkit.c:2670:13: warning: variable ‘__pyx_v_sourceURL’ set but not used 
[-Wunused-but-set-variable]
jswebkit.c:2669:13: warning: variable ‘__pyx_v_thisObject’ set but not used 
[-Wunused-but-set-variable]
creating build/lib.linux-i686-2.7
gcc -pthread -shared -Wl,-z,relro build/temp.linux-i686-2.7/jswebkit.o -L. 
-lpython2.7 -o build/lib.linux-i686-2.7/jswebkit.so -lwebkitgtk-1.0 
-lgtk-x11-2.0 -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgdk-x11-2.0 -latk-1.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype 
-lfontconfig -lgio-2.0 -lgobject-2.0 -lglib-2.0
running install_lib
copying build/lib.linux-i686-2.7/jswebkit.so -> /usr/lib/python2.7/site-packages
running install_egg_info
Writing /usr/lib/python2.7/site-packages/python_jswebkit-0.0.3-py2.7.egg-info

Original issue reported on code.google.com by goatman.py@gmail.com on 28 Jan 2013 at 4:24