mirror of
https://github.com/odamex/odamex
synced 2026-08-19 02:23:09 -04:00
clang doesn't have -Wuseless-cast and defines __GNUC__ so now it was producing warnings about the bad pragma in the same places GCC previously warned about the casts
This commit is contained in:
parent
b957a3d930
commit
72ea79e80d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuseless-cast"
|
||||
#endif
|
||||
|
||||
#include "noisy/span.hpp"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue