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

[Feature request] Linux build warnings cleanup #16567

Open
pchome opened this issue Jan 15, 2025 · 0 comments
Open

[Feature request] Linux build warnings cleanup #16567

pchome opened this issue Jan 15, 2025 · 0 comments

Comments

@pchome
Copy link

pchome commented Jan 15, 2025

Quick summary

Some annoying warnings every time.
GCC/Linux

Details

[27/560] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/Cell/SPUASMJITRecompiler.cpp.o
/home/devuser/Games/games-emulation/rpcs3-9999/work/rpcs3-9999/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp: In member function ‘virtual void (* spu_recompiler::compile(spu_program&&))(spu_thread&, void*, u8*)’:
/home/devuser/Games/games-emulation/rpcs3-9999/work/rpcs3-9999/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp:71:47: warning: ‘void atomic_t<T, Align>::wait(type, atomic_wait_timeout) const requires  sizeof (typename std::remove_cv< <template-parameter-1-1> >::type) == 8 [with T = void (*)(spu_thread&, void*, unsigned char*); long unsigned int Align = 8; type = void (*)(spu_thread&, void*, unsigned char*)]’ is deprecated [-Wdeprecated-declarations]
   71 |                         add_loc->compiled.wait(nullptr);
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /home/devuser/Games/games-emulation/rpcs3-9999/work/rpcs3-9999/rpcs3/stdafx.h:4,
                 from /home/devuser/Games/games-emulation/rpcs3-9999/work/rpcs3-9999/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp:1:
/home/devuser/Games/games-emulation/rpcs3-9999/work/rpcs3-9999/rpcs3/util/atomic.hpp:1692:29: note: declared here
 1692 |         [[deprecated]] void wait(type old_value, atomic_wait_timeout timeout = atomic_wait_timeout::inf) const
      |                             ^~~~

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

No branches or pull requests

2 participants