Skip to content

Commit

Permalink
Get rid of unknown pragma warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoakimSoderberg committed Dec 17, 2013
1 parent 968e97b commit 0ef1d04
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bufferevent_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
*/

// Get rid of OSX 10.7 and greater deprecation warnings.
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

#include "event2/event-config.h"
#include "evconfig-private.h"
Expand Down
2 changes: 2 additions & 0 deletions sample/https-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
*/

// Get rid of OSX 10.7 and greater deprecation warnings.
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <stdio.h>
#include <assert.h>
Expand Down
2 changes: 2 additions & 0 deletions sample/le-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/

// Get rid of OSX 10.7 and greater deprecation warnings.
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <stdio.h>
#include <assert.h>
Expand Down
2 changes: 2 additions & 0 deletions sample/openssl_hostname_validation.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ SOFTWARE.
*/

// Get rid of OSX 10.7 and greater deprecation warnings.
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <openssl/x509v3.h>
#include <openssl/ssl.h>
Expand Down
2 changes: 2 additions & 0 deletions test/regress_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
*/

// Get rid of OSX 10.7 and greater deprecation warnings.
#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif

#ifdef _WIN32
#include <winsock2.h>
Expand Down

0 comments on commit 0ef1d04

Please sign in to comment.