davidsansome / gtk-qt-engine

Automatically exported from code.google.com/p/gtk-qt-engine
7 stars 4 forks source link

Won't build on gtk+2-2.12.12 + qt4.4.3 #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(Issue imported from Trac - chaod.proton@gmail.com)

Here are the messages: [ 4%] Building C object src/CMakeFiles/
qt4engine.dir/qt_theme_draw.o /usr/local/src/My_projects/SlackBuilds/gtk-
qt-engine/src/qt_theme_draw.c: In function 'get_shadowType': /usr/local/
src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:64: warning: 
unused parameter 'style' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_hline': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:119: error: 
implicit declaration of function 'abs' /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:111: warning: unused 
parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c: In function 'draw_vline': /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:136: warning: unused 
parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c: In function 'draw_shadow': /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:175: warning: unused 
variable 'i' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:174: warning: unused variable 'thickness_dark' /usr/local/
src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:173: 
warning: unused variable 'thickness_light' /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:171: warning: unused 
variable 'gc4' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:170: warning: unused variable 'gc3' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:169: warning: 
unused variable 'gc2' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/
src/qt_theme_draw.c:168: warning: unused variable 'gc1' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:160: warning: 
unused parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_polygon': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:221: warning: 
unused parameter 'widget' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:222: warning: unused parameter 'detail' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In 
function 'draw_arrow': /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:360: warning: unused parameter 'shadowType' /
usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:361: warning: unused parameter 'area' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:365: warning: 
unused parameter 'fill' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_diamond': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:479: warning: 
unused parameter 'style' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:480: warning: unused parameter 'window' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:481: 
warning: unused parameter 'stateType' /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:482: warning: unused 
parameter 'shadowType' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:483: warning: unused parameter 'area' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:484: 
warning: unused parameter 'widget' /usr/local/src/My_projects/SlackBuilds/
gtk-qt-engine/src/qt_theme_draw.c:485: warning: unused parameter 'detail' /
usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:486: warning: unused parameter 'x' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:487: warning: 
unused parameter 'y' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/
src/qt_theme_draw.c:488: warning: unused parameter 'w' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:489: warning: 
unused parameter 'h' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/
src/qt_theme_draw.c: In function 'draw_box': /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:652: warning: unused 
variable 'pos' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:645: warning: unused variable 'toplevel' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In function 
'draw_flat_box': /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:709: warning: unused parameter 'shadowType' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:710: warning: 
unused parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_check': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:753: warning: 
unused parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_option': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:783: warning: 
unused parameter 'area' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c: In function 'draw_box_gap': /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:980: warning: 
unused parameter 'shadowType' /usr/local/src/My_projects/SlackBuilds/gtk-
qt-engine/src/qt_theme_draw.c:981: warning: unused parameter 'area' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:988: 
warning: unused parameter 'gap_side' /usr/local/src/My_projects/
SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:989: warning: unused 
parameter 'gap_x' /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:990: warning: unused parameter 'gap_w' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In function 
'draw_extension': /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:1016: warning: unused parameter 'gap_side' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In function 
'draw_focus': /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:1031: warning: unused parameter 'style' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:1032: warning: 
unused parameter 'window' /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:1033: warning: unused parameter 'stateType' /
usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:1034: warning: unused parameter 'area' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In function 
'draw_slider': /usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:1065: warning: unused variable 'adj' /usr/local/src/
My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:1050: warning: 
unused parameter 'shadowType' /usr/local/src/My_projects/SlackBuilds/gtk-
qt-engine/src/qt_theme_draw.c:1051: warning: unused parameter 'area' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In 
function 'draw_handle': /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:1095: warning: too many arguments for format /
usr/local/src/My_projects/SlackBuilds/gtk-qt-engine/src/
qt_theme_draw.c:1079: warning: unused parameter 'shadowType' /usr/local/
src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:1080: 
warning: unused parameter 'area' /usr/local/src/My_projects/SlackBuilds/
gtk-qt-engine/src/qt_theme_draw.c: In function 'draw_layout': /usr/local/
src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:1122: 
warning: unused variable 'parent1' /usr/local/src/My_projects/SlackBuilds/
gtk-qt-engine/src/qt_theme_draw.c: In function 
'qtengine_style_register_type': /usr/local/src/My_projects/SlackBuilds/gtk-
qt-engine/src/qt_theme_draw.c:1319: warning: missing initializer /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c:1319: 
warning: (near initialization for 'object_info.value_table') /usr/local/
src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In function 
'qtengine_style_init': /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:1328: warning: unused parameter 'style' /usr/
local/src/My_projects/SlackBuilds/gtk-qt-engine/src/qt_theme_draw.c: In 
function 'set_background': /usr/local/src/My_projects/SlackBuilds/gtk-qt-
engine/src/qt_theme_draw.c:1631: warning: dereferencing type-punned 
pointer will break strict-aliasing rules make[2]: *** [src/CMakeFiles/
qt4engine.dir/qt_theme_draw.o] Error 1 make[1]: *** [src/CMakeFiles/
qt4engine.dir/all] Error 2 make: *** [all] Error 2

Original issue reported on code.google.com by davidsansome on 1 Apr 2009 at 2:14

GoogleCodeExporter commented 9 years ago
I know, maybe the bug has been solved a little time ago, but I'd like post a 
solution
for this problem and google results don't help a lot about it, we can solve the
problem just adding:

#include<stdlib.h>

to: "~/gtk-qt-engine/src/qt_theme_draw.c". 

Original comment by metrof...@gmail.com on 7 Apr 2009 at 4:31

GoogleCodeExporter commented 9 years ago
Could you just emerge it into new version of the source? 

Original comment by grzesiek...@gmail.com on 4 Jul 2010 at 5:41

GoogleCodeExporter commented 9 years ago
the sources are still not updated.. and this problem continues to exist.

Original comment by ungalc...@gmail.com on 2 Aug 2010 at 4:31