compile error on Windows XP, Inkscape rev 14232, in conicsec.cpp

Bug #1471622 reported by Alvin Penner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Krzysztof Kosinski

Bug Description

using btool and tdm-gcc 4.6.1 and devlibs rev 53, the error is

--- compile / cc
compile src/2geom/conicsec.cpp
Make error line 307: problem compiling: src/2geom/conicsec.cpp: In member function 'Geom::Rect Geom::xAx::arc_bound(const Geom::Point&, const Geom::Point&, const Geom::Point&) const':
src/2geom/conicsec.cpp:1391:33: error: no matching function for call to 'swap(Geom::Point&, Geom::Point&)'
src/2geom/conicsec.cpp:1391:33: note: candidates are:
c:\devlibs/include/boost/ptr_container/ptr_vector.hpp:70:68: note: template<class T, class CA, class A> void boost::swap(boost::ptr_vector<T, CA, A>&, boost::ptr_vector<T, CA, A>&)
c:\devlibs/include/boost/detail/compressed_pair.hpp:431:60: note: template<class T1, class T2> void boost::swap(boost::compressed_pair<T1, T2>&, boost::compressed_pair<T1, T2>&)
c:\devlibs/include/boost/smart_ptr/scoped_array.hpp:100:76: note: template<class T> void boost::swap(boost::scoped_array<T>&, boost::scoped_array<T>&)
c:\devlibs/include/boost/smart_ptr/shared_ptr.hpp:505:31: note: template<class T> void boost::swap(boost::shared_ptr<T>&, boost::shared_ptr<T>&)
c:\devlibs/include/boost/optional/optional.hpp:915:69: note: template<class T> void boost::swap(boost::optional<T>&, boost::optional<T>&)

Tags: 2geom build win32
su_v (suv-lp)
tags: added: 2geom build win32
Changed in inkscape:
importance: Undecided → High
Revision history for this message
Alvin Penner (apenner) wrote :

possibly a typo, the function compiles normally if I replace the call to 'swap' with the function 'std::swap' in line 1391

Changed in inkscape:
status: New → Triaged
assignee: nobody → Krzysztof Kosinski (tweenk)
Revision history for this message
Alvin Penner (apenner) wrote :

thanks, fixed in rev 14237

Changed in inkscape:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.