Skip to content

Compile error #19

Closed
Closed

Description

@Majkl578

...
[ 22%] Building CXX object src/CMakeFiles/hphp_runtime_static.dir/cpp/base/hphp_ffi.cpp.o
In file included from /storage/hiphop/hiphop-php/src/cpp/base/zend/zend_functions.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/type_string.h:23,
from /storage/hiphop/hiphop-php/src/cpp/base/array/array_element.h:20,
from /storage/hiphop/hiphop-php/src/cpp/base/type_array.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/util/hash.h:53: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:89: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:93: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:103: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:130: warning: integer constant is too large for ‘long’ type
/storage/hiphop/hiphop-php/src/util/hash.h:307: warning: integer constant is too large for ‘long’ type
In file included from /storage/hiphop/hiphop-php/src/cpp/base/zend/zend_string.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/type_string.h:24,
from /storage/hiphop/hiphop-php/src/cpp/base/array/array_element.h:20,
from /storage/hiphop/hiphop-php/src/cpp/base/type_array.h:22,
from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/cpp/base/type_variant.h:95: error: ‘HPHP::Variant::Variant(ssize_t)’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_variant.h:92: error: with ‘HPHP::Variant::Variant(int)’
In file included from /storage/hiphop/hiphop-php/src/cpp/base/hphp_ffi.cpp:18:
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:314: error: ‘HPHP::Variant HPHP::Array::rvalAt(ssize_t, HPHP::int64) const’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:306: error: with ‘HPHP::Variant HPHP::Array::rvalAt(int, HPHP::int64) const’
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:337: error: ‘const HPHP::Variant HPHP::Array::operator const’ cannot be overloaded
/storage/hiphop/hiphop-php/src/cpp/base/type_array.h:335: error: with ‘const HPHP::Variant HPHP::Array::operator const’
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/cpp/base/hphp_ffi.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

$ gcc --version
gcc (Debian 4.4.3-2) 4.4.3

$ uname -a
Linux kerberos 2.6.32-2-686 #1 SMP Thu Feb 11 04:08:42 UTC 2010 i686 GNU/Linux

$ cat /proc/version
Linux version 2.6.32-2-686 (Debian 2.6.32-8) ([email protected]) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Thu Feb 11 04:08:42 UTC 2010

Activity

  1. carsonmcdonald commented on Feb 21, 2010

    @carsonmcdonald
    Contributor

    This looks like the same 64 bit only issue that others are running into. I forked the repo and changed it to compile on 32 bit system. It has some warnings but it will build. You can check out the changeset here: 792a37c

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