Using:
wxWidgets-3.0.0
MinGW (tdm-gcc-4.8.1-3)
wxArt2D tip as of 2/13/2014

When building wxArt2D I get the following error.

C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\drawer.cpp: In member function 'void 
a2dDrawingPart::DeleteAllPendingAreas()':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\drawer.cpp:1860:16: error: type 'class 
a2dUpdateListBase::compatibility_iterato
r' argument given to 'delete', expected pointer
          delete nodeb;
                 ^
canvas\src\CMakeFiles\canvas.dir\build.make:321: recipe for target 
'canvas/src/C
MakeFiles/canvas.dir/drawer.cpp.obj' failed
mingw32-make[2]: *** [canvas/src/CMakeFiles/canvas.dir/drawer.cpp.obj] 
Error 1
CMakeFiles\Makefile2:302: recipe for target 
'canvas/src/CMakeFiles/canvas.dir/al
l' failed
mingw32-make[1]: *** [canvas/src/CMakeFiles/canvas.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Changing

delete nodeb;

to

m_updateareas.Erase( nodeb );

removed the error.

David

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to