You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem when compiling a project that uses RandomX. One of the files, which includes 'intrin_portable.h', fails to compile due to '-Werror=cast-qual'. Here is the relevant code.
Yes, it's totally fine. I even fixed it in my P2Pool branch: SChernykh@7167cf1
You can make a pull request here - I didn't make it because it didn't affect anyone else.
Yes, it's totally fine. I even fixed it in my P2Pool branch: SChernykh@7167cf1 You can make a pull request here - I didn't make it because it didn't affect anyone else.
Actually I just met the problem when I tried to build the archlinux package of your P2Pool from on RISCV64 :)
It seems you've fixed this on aarch64 part,would you mind fix this on other parts of intrin_portable.h?
I encountered a problem when compiling a project that uses RandomX. One of the files, which includes 'intrin_portable.h', fails to compile due to '-Werror=cast-qual'. Here is the relevant code.
RandomX/src/intrin_portable.h
Lines 709 to 714 in 1c603a2
It seems that casting 'addr' to the 'uint8_t*' cause this error. However, the function load32() accepts a parameter of type 'const uint8_t *'.
RandomX/src/blake2/endian.h
Line 29 in 1c603a2
I just wonder whether it would be fine to cast 'addr' to 'const uint8_t *' instead of 'uint8_t *', for example,
The text was updated successfully, but these errors were encountered: