Skip to content

Commit

Permalink
(Merge Later) Remove diagnostic ignores
Browse files Browse the repository at this point in the history
These should be removed after Externals become SYSTEM includes.
  • Loading branch information
get committed Apr 15, 2023
1 parent 97e307f commit 1e3d09e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 49 deletions.
7 changes: 0 additions & 7 deletions Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@
#include <vector>

#include <fmt/format.h>
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif

#include "Common/ChunkFile.h"
#include "Common/Logging/Log.h"
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/Core/IOS/USB/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
#include <utility>

#ifdef __LIBUSB__
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#endif

#include "Common/Assert.h"
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/Core/IOS/USB/LibusbDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@
#include <utility>
#include <vector>

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif

#include "Common/Assert.h"
#include "Common/Logging/Log.h"
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/Core/LibusbUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@
#include <thread>

#if defined(__LIBUSB__)
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#endif

#include "Common/Assert.h"
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/Core/PowerPC/Expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
#include <string_view>
#include <utility>

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <expr.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif

#include "Common/BitUtils.h"
#include "Common/CommonTypes.h"
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/InputCommon/GCAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@
#include <optional>

#if GCADAPTER_USE_LIBUSB_IMPLEMENTATION
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#elif GCADAPTER_USE_ANDROID_IMPLEMENTATION
#include <jni.h>
#endif
Expand Down
7 changes: 0 additions & 7 deletions Source/Core/UICommon/USBUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@

#include <fmt/format.h>
#ifdef __LIBUSB__
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#include <libusb.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#endif

#include "Common/CommonTypes.h"
Expand Down

0 comments on commit 1e3d09e

Please sign in to comment.