MoneroOcean/xmrig

Compile fail on MSVC 2019

Closed this issue · 1 comments

C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(135,49): error C2143: syntax error: missing ']' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(135,49): error C2143: syntax error: missing ')' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(135,49): error C2143: syntax error: missing ';' before 'constant'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(137,66): error C2059: syntax error: ')'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(206,61): error C2143: syntax error: missing ']' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(206,61): error C2143: syntax error: missing ')' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(206,61): error C2143: syntax error: missing ';' before 'constant'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(206,64): error C2059: syntax error: ')'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(260,36): error C2143: syntax error: missing ']' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(260,36): error C2143: syntax error: missing ')' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(260,36): error C2143: syntax error: missing ';' before 'constant'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(260,39): error C2059: syntax error: ')'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(318,36): error C2143: syntax error: missing ']' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(318,36): error C2143: syntax error: missing ')' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(318,36): error C2143: syntax error: missing ';' before 'constant'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(318,39): error C2059: syntax error: ')'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(370,36): error C2143: syntax error: missing ']' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(370,36): error C2143: syntax error: missing ')' before 'type'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(370,36): error C2143: syntax error: missing ';' before 'constant'
1>C:\Users\dev\Documents\xmrig\src\crypto\randomx\panthera\sha256.c(371,38): error C2059: syntax error: ')'

Patch submitted, you could apply manually and it will compile. Or await merge to master.