Skip to content

Compile failure on win-amd64-py2.5 #937

Closed

Description

@cgohlke

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

  1. jkseppan commented on Jun 9, 2012

    @jkseppan
    Member
  2. cgohlke commented on Jun 9, 2012

    @cgohlke
    ContributorAuthor

    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).

  3. jkseppan commented on Jun 9, 2012

    @jkseppan
    Member

    I merged that branch into the other PR.

  4. jkseppan commented on Jun 9, 2012

    @jkseppan
    Member

    The code got merged, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions