mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-01-03 14:56:43 -05:00
Ignore useless snprintf() format truncation warnings on GCC 7+
This commit is contained in:
parent
e0a363855c
commit
60b391e65e
@ -26,6 +26,14 @@
|
||||
#define _GOPHERNICUS_H
|
||||
|
||||
|
||||
/*
|
||||
* Ignore useless snprintf() format truncation warnings on GCC 7+
|
||||
*/
|
||||
#if __GNUC__ >= 7
|
||||
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Features
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user