You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest github v1.1.x (and probably also the master) branch fails to build on win-amd64-py2.5 using the "Microsoft Platform SDK for Windows Server 2003 R2" compiler. Matplotlib 1.1.1rc was OK.
X:\WinSDK52\Bin\Win64\x86\AMD64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I. -IX:\Python25-x64\include -IX:\Python25-x64\PC /Tpttconv/pprdrv_tt2.cpp /Fobuild\temp.win32-2.5\Release\ttconv/pprdrv_tt2.obj
pprdrv_tt2.cpp
ttconv\pprdrv_tt2.cpp(274) : error C2664: 'std::vector<_Ty>::vector(unsigned __int64,const _Ty &,const _A &)' : cannot convert parameter 1 from 'std::list<_Ty>::iterator' to 'unsigned __int64'
with
[
_Ty=FlaggedPoint,
_A=std::allocator<FlaggedPoint>
]
and
[
_Ty=FlaggedPoint
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
error: command 'cl.exe' failed with exit status 2
Casting points.begin() and points.end() from std::list<FlaggedPoint>::iterator to std::vector<FlaggedPoint>::const_iterator did not work.
Activity
jkseppan commentedon Jun 9, 2012
Does jkseppan:try-fix-937 work?
cgohlke commentedon Jun 9, 2012
jkseppan:try-fix-937 does fix this build issue. I did not run the tests because of other pending changes in pprdrv_tt2.cpp (PR #938).
jkseppan commentedon Jun 9, 2012
I merged that branch into the other PR.
jkseppan commentedon Jun 9, 2012
The code got merged, closing this issue.