Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Can't Build Extension-example #9

Description

@lbadger

root@azguard:/opt/hhvm/hphp/runtime/ext/extension-example# ./build.sh
** hphpize complete, now run cmake . && make to build
-- Configuring for HHVM API version 20140702
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/hhvm/hphp/runtime/ext/extension-example
[100%] Building CXX object CMakeFiles/example.dir/example.cpp.o
In file included from /opt/hhvm/hphp/runtime/base/types.h:35:0,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/base/datatype.h: In function ‘bool HPHP::isBuiltinByRef(HPHP::MaybeDataType)’:
/opt/hhvm/hphp/runtime/base/datatype.h:325:15: error: use of deleted function ‘bool folly::operator!=(const folly::Optional&, const V&) [with V = HPHP::DataType]’
return t != KindOfNull &&
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:309:24: error: declared here
template bool operator!=(const Optional&, const V& other) = delete;
^
In file included from /opt/hhvm/hphp/runtime/base/types.h:35:0,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/base/datatype.h:326:15: error: use of deleted function ‘bool folly::operator!=(const folly::Optional&, const V&) [with V = HPHP::DataType]’
t != KindOfBoolean &&
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:309:24: error: declared here
template bool operator!=(const Optional&, const V& other) = delete;
^
In file included from /opt/hhvm/hphp/runtime/base/types.h:35:0,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/base/datatype.h:327:15: error: use of deleted function ‘bool folly::operator!=(const folly::Optional&, const V&) [with V = HPHP::DataType]’
t != KindOfInt64 &&
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:309:24: error: declared here
template bool operator!=(const Optional&, const V& other) = delete;
^
In file included from /opt/hhvm/hphp/runtime/base/types.h:35:0,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/base/datatype.h:328:15: error: use of deleted function ‘bool folly::operator!=(const folly::Optional&, const V&) [with V = HPHP::DataType]’
t != KindOfDouble;
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:309:24: error: declared here
template bool operator!=(const Optional&, const V& other) = delete;
^
In file included from /opt/hhvm/hphp/runtime/vm/preclass.h:28:0,
from /opt/hhvm/hphp/runtime/vm/class.h:31,
from /opt/hhvm/hphp/runtime/base/object-data.h:26,
from /opt/hhvm/hphp/runtime/base/type-object.h:20,
from /opt/hhvm/hphp/runtime/base/complex-types.h:26,
from /opt/hhvm/hphp/runtime/base/type-conversions.h:22,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:29,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/vm/type-constraint.h: In member function ‘bool HPHP::TypeConstraint::isArray() const’:
/opt/hhvm/hphp/runtime/vm/type-constraint.h:169:49: error: use of deleted function ‘bool folly::operator==(const folly::Optional&, const V&) [with V = HPHP::DataType]’
bool isArray() const { return m_type.dt == KindOfArray; }
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:308:24: error: declared here
template bool operator==(const Optional&, const V& other) = delete;
^
In file included from /opt/hhvm/hphp/runtime/vm/preclass.h:28:0,
from /opt/hhvm/hphp/runtime/vm/class.h:31,
from /opt/hhvm/hphp/runtime/base/object-data.h:26,
from /opt/hhvm/hphp/runtime/base/type-object.h:20,
from /opt/hhvm/hphp/runtime/base/complex-types.h:26,
from /opt/hhvm/hphp/runtime/base/type-conversions.h:22,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:29,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/opt/hhvm/hphp/runtime/vm/type-constraint.h: In member function ‘bool HPHP::TypeConstraint::isObjectOrTypeAlias() const’:
/opt/hhvm/hphp/runtime/vm/type-constraint.h:177:25: error: use of deleted function ‘bool folly::operator==(const folly::Optional&, const V&) [with V = HPHP::DataType]’
return m_type.dt == KindOfObject;
^
In file included from /opt/hhvm/hphp/runtime/base/datatype.h:25:0,
from /opt/hhvm/hphp/runtime/base/types.h:35,
from /opt/hhvm/hphp/runtime/base/zend-functions.h:21,
from /opt/hhvm/hphp/runtime/base/hphp-system.h:27,
from /opt/hhvm/hphp/runtime/base/base-includes.h:24,
from /opt/hhvm/hphp/runtime/ext/extension-example/example.cpp:17:
/usr/local/include/hphp/third-party/folly/Optional.h:308:24: error: declared here
template bool operator==(const Optional&, const V& other) = delete;
^
make[2]: *** [CMakeFiles/example.dir/example.cpp.o] Error 1
make[1]: *** [CMakeFiles/example.dir/all] Error 2
make: *** [all] Error 2

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions