Code Monkey home page Code Monkey logo

orientdb-extension's People

Contributors

hugohiram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

caize

orientdb-extension's Issues

readLong() method

Sometimes when compiling, I get this at readLong() method:

Preparing for PHP compilation...
Preparing configuration file...
Compiling...
/var/www/orientdb_extension/ext/orientdb/math.zep.c: In function ‘zim_Orientdb_Math_unpackI64’:
/var/www/orientdb_extension/ext/orientdb/math.zep.c:124:3: warning: left shift count >= width of type [enabled by default]
   RETURN_MM_LONG(((((int) (zephir_get_numberval(hi)) << 32)) + zephir_get_numberval(low)));
   ^
Installing...
Extension installed!

add 32 bits support for addLong method

Add 32 bits support for addLong method, these are the warning I am getting. In the last two messages, it seems that Zephir doesn't support updating a string using array syntaxis.

Warning: Function "bcadd" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 384 [nonexistent-function]

let tmpValue = bcadd(tmpValue, "1");
-----------------------------------^

Warning: Function "bcmod" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 388 [nonexistent-function]

let bitString = (string)abs( (int)bcmod( tmpValue, "2")) . bitString;
-------------------------------------------------------^

Warning: Function "bcdiv" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 389 [nonexistent-function]

let tmpValue  = bcdiv( tmpValue, "2" );
--------------------------------------^

Warning: Function "gmp_strval" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 394 [nonexistent-function]

let tmpValue = gmp_strval(gmp_add(tmpValue, "1"));
-------------------------------------------------^

Warning: Function "gmp_add" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 394 [nonexistent-function]

let tmpValue = gmp_strval(gmp_add(tmpValue, "1"));
------------------------------------------------^

Warning: Function "gmp_strval" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 398 [nonexistent-function]

let bitString = gmp_strval( gmp_abs( gmp_mod(tmpValue, "2"))) . bitString;
--------------------------------------------------------------^

Warning: Function "gmp_abs" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 398 [nonexistent-function]

let bitString = gmp_strval( gmp_abs( gmp_mod(tmpValue, "2"))) . bitString;
------------------------------------------------------------^

Warning: Function "gmp_mod" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 398 [nonexistent-function]

let bitString = gmp_strval( gmp_abs( gmp_mod(tmpValue, "2"))) . bitString;
-----------------------------------------------------------^

Warning: Function "gmp_strval" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 399 [nonexistent-function]

let tmpValue = gmp_strval( gmp_div_q( tmpValue, "2"));
-----------------------------------------------------^

Warning: Function "gmp_div_q" does not exist at compile time in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 399 [nonexistent-function]

let tmpValue = gmp_strval( gmp_div_q( tmpValue, "2"));
----------------------------------------------------^

Warning: Possible attempt to access array-index on a non-array dynamic variable in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 411 [non-array-access]

let bitString[idx] = (bitString[idx] == "1")? "0" : "1";
-------------------------------^

Warning: Possible attempt to update index on a non-array dynamic variable in /var/www/orientdb_extension/orientdb/OperationAbstract.zep on 411 [non-array-update]

let bitString[idx] = (bitString[idx] == "1")? "0" : "1";
-------------------------------------------------------^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.