yuzu/src/input_common
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
..
drivers input_common: set SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to 0 2023-07-07 21:59:47 +02:00
helpers input_common: Allow timeouts to happen while scanning for a ring 2023-06-29 01:07:39 -06:00
CMakeLists.txt cmake: use correct boost imported targets 2023-02-28 17:56:01 +01:00
input_engine.cpp input_common: Map motion with relative values not absolute ones 2023-05-19 21:19:29 -06:00
input_engine.h input_common: Implement native mifare support 2023-06-21 17:54:58 -06:00
input_mapping.cpp input_common: Add experimental motion to button 2023-05-05 22:49:56 -06:00
input_mapping.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
input_poller.cpp Warnings cleanup for GCC 13 and Clang 16 2023-08-25 19:22:31 -04:00
input_poller.h core: hid: Enable pulling color data from controllers 2023-01-19 18:05:20 -06:00
main.cpp input_common: Initial skeleton for custom joycon driver 2023-01-19 18:05:20 -06:00
main.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00