jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.06k stars 1.72k forks source link

WSL with GCC11 build error #1202

Closed yingkee closed 1 year ago

yingkee commented 1 year ago

crypto_generichash/blake2/ref/blake2.h:126:5: error: size of array element is not a multiple of its alignment 126 | blake2b_state S[4][1]; | ^~~~~ crypto_generichash/blake2/ref/blake2.h:127:5: error: size of array element is not a multiple of its alignment 127 | blake2b_state R[1]; | ^~~~~

jedisct1 commented 1 year ago

I don't understand.

There's no line 126 in that file, and no blake2b_state S[4][1] anywhere in the code either.

What version did you get? Where did you download it?