Browse Source

Silence clang deprecated warnings on macOS

We still target a very old version of macOS, which tends to make clang
very upset, so we need to turn off depercation warnings.
tags/v1.10.90
Pierre Ossman 4 years ago
parent
commit
79d1747a27
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      config.h.in

+ 5
- 0
config.h.in View File

@@ -17,3 +17,8 @@
typedef long ssize_t;
#endif
#endif

/* We know we use deprecated stuff, it's to support older macOS */
#if defined(__APPLE__) && defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

Loading…
Cancel
Save