-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building a 32-bit Windows Version fails #87
Comments
When building on Windows with the Microsoft SDK V7 it attempts to include some interlocked functions that are not available on 32 bit windows. |
Dave, what functions does it use that are missing? Is this connected with commit 3885d1d "Backport of IAF2 atomics from hercules-390/hyperion"? |
Roger,
Yes! Its trying
I get errors:-
c:\hercdev\spinhawk-master-peters\spinhawk-master\esame.c(7071) : error C2220: warning treated as error - no 'object' file generated
c:\hercdev\spinhawk-master-peters\spinhawk-master\esame.c(7071) : warning C4013: 'InterlockedAnd64'undefined; assuming extern returning int
c:\hercdev\spinhawk-master-peters\spinhawk-master\esame.c(7451) : warning C4013: 'InterlockedXor64'undefined; assuming extern returning int
c:\hercdev\spinhawk-master-peters\spinhawk-master\esame.c(7819) : warning C4013: 'InterlockedOr64' undefined; assuming extern returning int
general3.c
general1.c(241) : error C2220: warning treated as error - no 'object' file generated
general1.c(241) : warning C4013: 'InterlockedAnd64' undefined; assuming extern returning int
general1.c(2975) : warning C4013: 'InterlockedXor64' undefined; assuming extern returning int
general2.c(99) : error C2220: warning treated as error - no 'object' file generated hconsole.c
general2.c(99) : warning C4013: 'InterlockedOr64' undefined; assuming extern returning int
checking the source the above locations are where the functions in “hatomic.h” are called.
Setting DISABLE_IAF2 at the start of “hatomic.h” generates a clean compile and build.
Dave
From: Roger Bowler <[email protected]>
Sent: 16 February 2019 17:43
To: rbowler/spinhawk <[email protected]>
Cc: Dave Wade <[email protected]>; Author <[email protected]>
Subject: Re: [rbowler/spinhawk] Building a 32-bit Windows Version fails (#87)
Dave, what functions does it use that are missing? Is this connected with commit <3885d1d> 3885d1d "Backport of IAF2 atomics from hercules-390/hyperion"?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#87 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABXNJOARuqF3yYee2dspcK37cGc42Bu9ks5vOENAgaJpZM4a-aLY> . <https://github.com/notifications/beacon/ABXNJGzdzqnCvlcwEe1ukkVWGTU4mkg0ks5vOENAgaJpZM4a-aLY.gif>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: