From: Mike Jerris Date: Tue, 27 Jun 2017 22:06:39 +0000 (-0500) Subject: FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers X-Git-Tag: v1.8.0~422 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=823b5bc6f8df93ef692404cdc38823296993d2a9;p=thirdparty%2Ffreeswitch.git FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers --- diff --git a/src/mod/event_handlers/mod_smpp/mod_smpp.h b/src/mod/event_handlers/mod_smpp/mod_smpp.h index 3320a7829b..13828b32a5 100644 --- a/src/mod/event_handlers/mod_smpp/mod_smpp.h +++ b/src/mod/event_handlers/mod_smpp/mod_smpp.h @@ -35,10 +35,16 @@ #define MOD_SMPP_H #include +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpedantic" +#endif #include #include #include - +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif typedef struct mod_smpp_globals_s { switch_memory_pool_t *pool; switch_hash_t *gateways;