Comment 16 for bug 972797

Revision history for this message
Kris (kris-degussem) wrote :

Due to the recent changes in sp-canvas, there are compiling issues on win32 (devlibs r29, tested with trunk r11483):

Make error line 289: problem compiling: src/display/sp-canvas.cpp:420:6: warning
: unused parameter 'klass' [-Wunused-parameter]
src/display/sp-canvas.cpp:424:6: warning: unused parameter 'klass' [-Wunused-par
ameter]
src/display/sp-canvas.cpp:456:6: warning: unused parameter 'klass' [-Wunused-par
ameter]
src/display/sp-canvas.cpp: In static member function 'static void SPCanvasImpl::
sizeAllocate(GtkWidget*, GtkAllocation*)':
src/display/sp-canvas.cpp:1466:19: warning: variable 'old_area' set but not used
 [-Wunused-but-set-variable]
src/display/sp-canvas.cpp: In static member function 'static int SPCanvasImpl::p
aint(SPCanvas*)':
src/display/sp-canvas.cpp:2237:19: error: 'Region' is not a member of 'Cairo'
src/display/sp-canvas.cpp:2237:19: note: suggested alternatives:
c:\devlibs/include/gdkmm-2.4/gdkmm/region.h:141:7: note: 'Gdk::Region'
src/2geom/forward.h:107:7: note: 'Geom::Region'
src/display/sp-canvas.cpp:2237:19: error: 'Region' is not a member of 'Cairo'
src/display/sp-canvas.cpp:2237:19: note: suggested alternatives:
c:\devlibs/include/gdkmm-2.4/gdkmm/region.h:141:7: note: 'Gdk::Region'
src/2geom/forward.h:107:7: note: 'Geom::Region'
src/display/sp-canvas.cpp:2237:32: error: template argument 1 is invalid
src/display/sp-canvas.cpp:2237:43: error: invalid type in declaration before '='
 token
src/display/sp-canvas.cpp:2237:52: error: 'Cairo::Region' has not been declared
src/display/sp-canvas.cpp:2244:17: error: 'RectangleInt' is not a member of 'Cai
ro'
src/display/sp-canvas.cpp:2244:37: error: expected ';' before 'rect'
src/display/sp-canvas.cpp:2246:25: error: base operand of '->' is not a pointer
src/display/sp-canvas.cpp:2246:36: error: 'rect' was not declared in this scope
src/display/sp-canvas.cpp:2252:26: error: base operand of '->' is not a pointer
src/display/sp-canvas.cpp:2256:13: error: 'RectangleInt' is not a member of 'Cai
ro'
src/display/sp-canvas.cpp:2256:33: error: expected ';' before 'rect'
src/display/sp-canvas.cpp:2257:22: error: 'rect' was not declared in this scope