Heh. Ran into that very same issue last week (I'm still in the process of
making wxArt2D play real nice with bleeding edge (read: CVS/SVN/whatever
HEAD versions of ...) wxWidgets and agg2 (sans wxLua -- too much hassle and
not mandatory for me right now).

The issue is not with wx but with the std libs: the _List_nod/ptr is
apparently some internals stuff that's MSVC specific. :-S   Anyhow, track
down the error lines and you'll see it's complaining everywhere where you
find a template class std::allocator<...> line.
The temporary hack was to add '&& 0' to the surrounding #ifdef WXUSINGDLL
line, pending a better idea once I move from Kubuntu10/64-bit back to
MSVC2008 and find out what sort of trouble I caused for myself with that
ugly hack.

You'll find this issue popping up in several .h files:
# grep -n ' && 0' `find . -name '*.h' `
./components/wxArt2D/modules/general/include/comevt.h:798:#if defined
(WXUSINGDLL) && 0
./components/wxArt2D/modules/general/include/comevt.h:1522:#if defined
(WXUSINGDLL) && 0
./components/wxArt2D/modules/general/include/comevt.h:1633:#if defined
(WXUSINGDLL) && 0
./components/wxArt2D/modules/general/include/comevt.h:2430:#if defined
(WXUSINGDLL) && 0
./components/wxArt2D/modules/general/include/gen.h:2531:#if defined
(WXUSINGDLL) && 0
./components/wxArt2D/modules/xmlparse/include/genxmlpars.h:167:#if defined
(WXUSINGDLL) && 0


P.S. Another issue that will show up in a myriad of places is the new
Unicode approach to strings by wxW plus the fact that their wxString c_str()
doesn't return a '[const] char *' any longer, which is honored with a mere
warning by gcc4.4, but at least on my box ignoring that one 'as it's only a
warning' turned out to be quite fatal at run-time. (Impact: all the %s
printf strings are affected.)








2010/7/25 Stefan Tröger <stefantro...@gmx.de>

> Hello together,
>
> i'm recently started using wxArt2d and have to congratulate you for this
> nice
> work! It's saved me a ton of work already!
>
> Now my Problem: I switched to wxWidgets 2.9.1 and found that wxArt2D is not
> compiling. The error is in gen.h:
>
> ‘_List_nod’ is not a member of ‘std’
> ‘_List_ptr’ is not a member of ‘std’
>
> Seemd the wx Listimplementation changed, but looking into source was quite
> confusing. Maybe you have an idea how that can be fixed?
>
> Thanks,
> Stefan
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
>
>


-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   g...@hobbelt.com
mobile: +31-6-11 120 978
--------------------------------------------------
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to