Skip to content

pytorch fails to compile on clang 6.0 (xcode 6.2) #416

@soumith

Description

@soumith

The main issue is this: http://stackoverflow.com/questions/11255027/why-user-defined-move-constructor-disables-the-implicit-copy-constructor

The brief error is:

note: copy constructor is
      implicitly deleted because 'unique_ptr<THPVariableVersion, std::__1::default_delete<THPVariableVersion> >' has a user-declared move constructor
    _LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT

The full error log is here:
https://gist.github.com/anonymous/7b58c873f451d768e816d64ea4090813

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: dependency bugProblem is not caused by us, but caused by an upstream library we use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions