You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yuzu/src/web_service
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".
2 years ago
..
CMakeLists.txt cmake: prefer system libraries 3 years ago
announce_room_json.cpp general: Silence -Wshadow{,-uncaptured-local} warnings 2 years ago
announce_room_json.h network, yuzu: Make copyright headers SPDX-compliant 3 years ago
precompiled_headers.h CMake: Consolidate common PCH headers 3 years ago
telemetry_json.cpp chore: make yuzu REUSE compliant 3 years ago
telemetry_json.h chore: make yuzu REUSE compliant 3 years ago
verify_login.cpp general: fixes for gcc 13 2 years ago
verify_login.h chore: make yuzu REUSE compliant 3 years ago
verify_user_jwt.cpp Warnings cleanup for GCC 13 and Clang 16 2 years ago
verify_user_jwt.h network, yuzu: Make copyright headers SPDX-compliant 3 years ago
web_backend.cpp externals: Update cpp-httplib to latest 2 years ago
web_backend.h chore: make yuzu REUSE compliant 3 years ago
web_result.h general: Convert source file copyright comments over to SPDX 3 years ago