Closed hellow554 closed 3 years ago
I have GCC 10.2.1 and 9.3.0 and I don't see any warnings?
This is somewhat confusing. I'm cross compiling for an ARM target, but you're right. When I use the systemd default x86 g++ there are no warning (except one in the function2.hpp)
uWebSockets/src/f2/function2.hpp:1131:9: warning: the address of ‘static void WS::end()::<lambda()>::_FUN()’ will never be NULL [-Waddress]
1131 | if (bool(callable)) {
but, no view of that other one.
But when I compile with my cross compiler, the warning from my first post appears...
Strange...
Indeed, this seems to be an "issue" with the arm compiler, see:
The question is, this doesn't seem to be a problem with the library itself, so I guess this can be closed an I have to add -Wno-psabi
?
It looks like an honest warning, for the sake of warning you. I would just ignore it. It's not related to this library.
I'm compiling with gcc 10.2 and the following warning pops up:
(wonderful how C++ messages look, right?)
So, the important message is this:
I would like that message to disappear ;)
Is there more information you need, e.g. some code, or can you work with this?