getReturnAddress fix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

getReturnAddress fix

stes
 

Hello, the current GIT sources have an issue in the spur64src/vm/cogit.c file.

The cogit.c file includes cogitX64SysV.c for me.

The following fixes compilation for me:

bash-4.4$ git diff
diff --git a/spur64src/vm/cogitX64SysV.c b/spur64src/vm/cogitX64SysV.c
index 3e9ed64be..2c18e045f 100644
--- a/spur64src/vm/cogitX64SysV.c
+++ b/spur64src/vm/cogitX64SysV.c
@@ -11,6 +11,7 @@ char *__cogitBuildInfo = __buildInfo;
 #include <stddef.h>
 #include "sqConfig.h"
 #include "sqMemoryAccess.h"
+#include "sqPlatformSpecific.h"
 #include "sqCogStackAlignment.h"
 #include "dispdbg.h"
 #include "cogmethod.h"


So I think there is a missing #include of sqPlatformSpecific.h.

But there may be alternative solutions...
Reply | Threaded
Open this post in threaded view
|

Re: getReturnAddress fix

stes
 

It is working now for me, seems fixed in

        CoInterpreter VMMaker.oscog-eem.2926 uuid: 4f3cf7c5-7b78-41b7-8113-8e45970a4daf


----- Op 8 jan 2021 om 8:11 schreef stes [hidden email]:

> Hello, the current GIT sources have an issue in the spur64src/vm/cogit.c file.
>
> The cogit.c file includes cogitX64SysV.c for me.
>
> The following fixes compilation for me:
>
> bash-4.4$ git diff
> diff --git a/spur64src/vm/cogitX64SysV.c b/spur64src/vm/cogitX64SysV.c
> index 3e9ed64be..2c18e045f 100644
> --- a/spur64src/vm/cogitX64SysV.c
> +++ b/spur64src/vm/cogitX64SysV.c
> @@ -11,6 +11,7 @@ char *__cogitBuildInfo = __buildInfo;
> #include <stddef.h>
> #include "sqConfig.h"
> #include "sqMemoryAccess.h"
> +#include "sqPlatformSpecific.h"
> #include "sqCogStackAlignment.h"
> #include "dispdbg.h"
> #include "cogmethod.h"
>
>
> So I think there is a missing #include of sqPlatformSpecific.h.
>
> But there may be alternative solutions...