mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-10-13 05:03:40 -04: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
|
#define _GOPHERNICUS_H
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Ignore useless snprintf() format truncation warnings on GCC 7+
|
||||||
|
*/
|
||||||
|
#if __GNUC__ >= 7
|
||||||
|
#pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Features
|
* Features
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user