On Feb 28, 2010, at 7:35 PM, Jon Cruz wrote:
On Feb 28, 2010, at 2:50 PM, <J.B.C.Engelen@...1578...> <J.B.C.Engelen@...1761....1578...> wrote:
In file included from src/extension/implementation/script.cpp:43: src/util/glib-list-iterators.h: In member function 'T* const& Inkscape::Util::GS ListConstIterator<T*>::operator*() const [with T = SPItem]': src/extension/implementation/script.cpp:748: instantiated from here src/util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer wi ll break strict-aliasing rules
Interesting.
You've been tripped up by a nasty old-school C macro.
Also... it appears to be one of the legacy Sodipodi things. The macro *looks* like the common GTK ones, but drops all the type safety internal checks that the GTK ones perform.
So I think this might be a case where we just need to drop that macro's use overall.
Ok. I did a quick change purging that. Hopefully it will unblock the build a bit for you.
(general note: SP_OBJECT_ID() should have been dropped with the change to C++)