------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-27 04:44 ------- Thisis a dllimport bug. In this case the template member template <class pointIterator> Point::Point(pointIterator ptStart, pointIterator ptStop) is being marked as dllimport. Later it is instantiated and the definition conflicts with dllimport semantics
The same bug is on trunk and is fixed by the patch at http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01543.html by moving the C++ specific dllimport stuff into a lang-specific target file so that we can actually test for template instantiations. Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23589