Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actualpaul424

Posted 19 April 2013 - 06:52 AM


    Created camera manager
    *** Initialising script engine AngelScript ***
    AS: (0, 0) : ERR :
      Failed in call to function 'RegisterGlobalFunction' with 'int stringToInt(string &in)' (Code: -7)
    OpenDungeons.bin: /home/tom/Opendungeons/opendungeons/source/ASWrapper.cpp:188: void ASWrapper::registerEverything(): Assertion `r >= 0' failed.
    ./OpenDungeonsNoStdoutNoStderr: line 3:  7060 Aborted                 ./OpenDungeons.bin




-7 is <a href="#notsupported" >asNOT_SUPPORTED</a> ,

For what IRC says it;'s calling convertion not supproted .
That what happens on IA32.
On AMD64 it works fine though .


        r = engine->RegisterGlobalFunction(
                "int stringToInt(string &in)",
                asFUNCTION(Helper::stringToT<int>),
                asCALL_CDECL); assert(r >= 0);

 

 

For what I understood the asCall_CDECL is no longer a valid call conv. Why is that ? This happens on  ANGELSCRIPT_VERSION_STRING "2.25.0"

I also tried upgrading to the newest one AS Version and it happens as well .


#1paul424

Posted 19 April 2013 - 06:51 AM


    Created camera manager
    *** Initialising script engine AngelScript ***
    AS: (0, 0) : ERR :
      Failed in call to function 'RegisterGlobalFunction' with 'int stringToInt(string &in)' (Code: -7)
    OpenDungeons.bin: /home/tom/Opendungeons/opendungeons/source/ASWrapper.cpp:188: void ASWrapper::registerEverything(): Assertion `r >= 0' failed.
    ./OpenDungeonsNoStdoutNoStderr: line 3:  7060 Aborted                 ./OpenDungeons.bin




-7 is <a href="#notsupported" >asNOT_SUPPORTED</a> ,

For what IRC says it;'s calling convertion not supproted .
That what happens on IA32.
On AMD64 it works fine though .


        r = engine->RegisterGlobalFunction(
                "int stringToInt(string &in)",
                asFUNCTION(Helper::stringToT<int>),
                asCALL_CDECL); assert(r >= 0);

 

 

For what I understood the asCall_CDECL is no longer a valid call conv. Why is that ? This happens on  ANGELSCRIPT_VERSION_STRING "2.25.0"

I upgraded to the newest one AS Version and it happens as well .


PARTNERS