mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-06-09 06:20:43 +00: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