-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaking compiler pragmas yet again.
- Loading branch information
1 parent
b3f359f
commit e6043e5
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
#pragma clang diagnostic push | ||
|
||
#pragma clang diagnostic ignored "-Wunknown-pragmas" | ||
|
||
#pragma clang diagnostic ignored "-Wdeprecated-anon-enum-enum-conversion" | ||
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic" | ||
#pragma clang diagnostic ignored "-Wc++98-compat" | ||
#pragma clang diagnostic ignored "-Wold-style-cast" | ||
#pragma clang diagnostic ignored "-Wpadded" | ||
#pragma clang diagnostic ignored "-Wreserved-identifier" | ||
#pragma clang diagnostic ignored "-Wshadow-field-in-constructor" | ||
#pragma clang diagnostic ignored "-Wshorten-64-to-32" | ||
#pragma clang diagnostic ignored "-Wsign-conversion" | ||
#pragma clang diagnostic ignored "-Wunused-parameter" | ||
#if __clang__ | ||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wunknown-pragmas" | ||
#pragma clang diagnostic ignored "-Wall" | ||
#elif __GNUC__ // must follow clang (which defines both) | ||
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wunknown-pragmas" | ||
#pragma GCC diagnostic ignored "-Wall" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
#pragma clang diagnostic pop | ||
#if __clang__ | ||
#pragma clang diagnostic pop | ||
#elif __GNUC__ // must follow clang (which defines both) | ||
#pragma GCC diagnostic pop | ||
#endif |