Skip to content
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

compile error #1

Closed
rwst opened this issue Oct 21, 2015 · 4 comments
Closed

compile error #1

rwst opened this issue Oct 21, 2015 · 4 comments

Comments

@rwst
Copy link

rwst commented Oct 21, 2015

This is with gcc-4.8.3

ralf@ark:~/Gull/src> make
clang++ -msse4.1 -mpopcnt -fpermissive -fno-exceptions -fno-rtti -w -O2 Gull.cpp -o Gull
Gull.cpp:416:1: error: C++ requires a type specifier for all declarations
__declspec(align(64)) GBoard Board[1];
^
Gull.cpp:416:12: error: use of undeclared identifier 'align'
__declspec(align(64)) GBoard Board[1];
           ^
Gull.cpp:416:22: error: expected ';' after top level declarator
__declspec(align(64)) GBoard Board[1];                                                  
                     ^                                                                  
                     ;                                                                  
Gull.cpp:439:1: error: C++ requires a type specifier for all declarations               
__declspec(align(64)) GData Data[128];                                                  
^                                                                                       
Gull.cpp:439:12: error: use of undeclared identifier 'align'
__declspec(align(64)) GData Data[128];
           ^
Gull.cpp:439:22: error: expected ';' after top level declarator
__declspec(align(64)) GData Data[128];
                     ^
                     ;
Gull.cpp:481:1: error: C++ requires a type specifier for all declarations
__declspec(align(64)) GPawnEntry PawnHash[pawn_hash_size];
^
Gull.cpp:481:12: error: use of undeclared identifier 'align'
__declspec(align(64)) GPawnEntry PawnHash[pawn_hash_size];
           ^
Gull.cpp:481:22: error: expected ';' after top level declarator
__declspec(align(64)) GPawnEntry PawnHash[pawn_hash_size];
@rwst
Copy link
Author

rwst commented Oct 21, 2015

ah I just see you call clang---my clang is 3.7.0

@basil00
Copy link
Owner

basil00 commented Oct 21, 2015

My clang is older, version 3.5. Maybe try that until a solution is found?

@basil00
Copy link
Owner

basil00 commented Oct 21, 2015

Should be fixed now?

@rwst
Copy link
Author

rwst commented Oct 21, 2015

Sorry, yes, thanks. I had to also set sse to 3 because I'm on AMD but then
it compiled fine and played two games against SF.

On Wed, 21 Oct 2015 15:23 basil00 notifications@github.com wrote:

Should be fixed now?


Reply to this email directly or view it on GitHub
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants