Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on macOS: rsthreads.cc: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator!=' #153

Open
barracuda156 opened this issue Nov 12, 2024 · 1 comment

Comments

@barracuda156
Copy link
Contributor

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libretroshare/libretroshare/work/libretroshare-5e3d142b087151b3a6d05896a0244ba6352e9e44/src/util/rsthreads.cc: In member function 'bool RsThread::start(const std::string&)':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libretroshare/libretroshare/work/libretroshare-5e3d142b087151b3a6d05896a0244ba6352e9e44/src/util/rsthreads.cc:215:60: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator!='
  215 |                 if(pthread_setname_np && !threadName.empty())
      |                                                            ^
make[2]: *** [CMakeFiles/retroshare.dir/src/util/rsthreads.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
@barracuda156
Copy link
Contributor Author

The code there is old, so it certainly compiled earlier. Perhaps gcc14 became stricter with something relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant