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
On Ubuntu 24.04/RISC-V, the build (make) fails with
...
In file included from tornado/Tornado.cpp:17,
from tornado/tor_test.cpp:40:
tornado/MatchFinder.cpp: In member function ‘BYTE* BaseMatchFinder::toPtr(PtrVal)’:
tornado/MatchFinder.cpp:155:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
155 | BYTE *toPtr (PtrVal n) {return (BYTE*) n;}
| ^~~~~~~~~
tornado/MatchFinder.cpp: In member function ‘PtrVal BaseMatchFinder::fromPtr(BYTE*)’:
tornado/MatchFinder.cpp:156:38: error: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘PtrVal’ {aka ‘unsigned int’} loses precision [-fpermissive]
156 | PtrVal fromPtr(BYTE *p) {return (PtrVal) p;}
$ gcc -v
...
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)
$ clang -v
Ubuntu clang version 18.1.3 (1)
I haven't tried to resolve it yet.
The text was updated successfully, but these errors were encountered:
On Ubuntu 24.04/RISC-V, the build (
make
) fails withI haven't tried to resolve it yet.
The text was updated successfully, but these errors were encountered: