1
0
Fork 0
forked from suyu/suyu
suyu/src
comex 91eb5afd0b Warnings cleanup for GCC 13 and Clang 16
Note: For GCC there are still a huge number of `-Warray-bounds` warnings
coming from `externals/dynarmic`.  I could have added a workaround in
`externals/CMakeLists.txt` similar to what this PR does for other
externals, but given Dynarmic's close affiliation with Yuzu, it would be
better to fix it upstream.

Besides that, on my machine, this makes the build warning-free except
for some warnings from glslangValidator and AutoMoc.

Details:

- Disable some warnings in externals.

- Disable `-Wnullability-completeness`, which is a Clang warning triggered
  by the Vulkan SDK where if any pointers in the header are marked
  _Nullable, it wants all pointers to be marked _Nullable or _Nonnull.
  Most of them are, but some aren't.  Who knows why.

- `src/web_service/verify_user_jwt.cpp`: Disable another warning when
  including `jwt.hpp`.

- `src/input_common/input_poller.cpp`: Add missing `override` specifiers.

- src/common/swap.h: Remove redundant `operator&`.  In general, this
  file declares three overloads of each operator.  Using `+` as an
  example, the overloads are:

  - a member function for `swapped_t + integer`
  - a member function for `swapped_t + swapped_t`
  - a free function for `integer + swapped_t`

  But for `operator&`, there was an additional free function for
  `swapped_t + integer`, which was redundant with the member function.
  This caused a GCC warning saying "ISO C++ says that these are
  ambiguous".
2023-08-25 19:22:31 -04:00
..
android android: Use appCategory to specify the app is a game 2023-08-25 17:17:48 -04:00
audio_core Merge pull request #10839 from lat9nq/pgc-plus 2023-08-02 14:25:52 -04:00
common Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 -04:00
core Merge pull request #11370 from FearlessTobi/fix-filesize 2023-08-25 18:02:54 -04:00
dedicated_room Run clang-format to fix all. 2023-04-19 17:52:09 +00:00
input_common Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 -04:00
network general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
shader_recompiler Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation 2023-08-18 22:17:02 -04:00
tests Buffer cache: always use async buffer downloads and fix regression. 2023-05-07 23:46:12 +02:00
video_core Merge pull request #11302 from vonchenplus/vulkan_macos 2023-08-22 13:10:26 -04:00
web_service Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 -04:00
yuzu Merge pull request #11377 from BenjaminHalko/reverse-slider-input 2023-08-25 18:06:03 -04:00
yuzu_cmd configure_system: Implement with for loop 2023-07-21 10:56:07 -04:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 -04:00