Suppress -Waggregate-return here
This commit is contained in:
1 parent
6e2f485b50
commit
5164722cd1
1 file changed
+5
@@ -90,6 +90,9 @@ typedef struct
|
||||
#define LUMPNUMCACHESIZE 2048 // should be reasonable ig
|
||||
#define LUMPNUMCACHENAME 32
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Waggregate-return"
|
||||
|
||||
#define NAME lumpnum_map
|
||||
#define KEY_TY char *
|
||||
#define KEY_GET_CONST
|
||||
@@ -108,6 +111,8 @@ typedef struct
|
||||
#define KEY_DTOR_FN free
|
||||
#include "verstable.h"
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static lumpnum_map lumpnumcache;
|
||||
|
||||
typedef struct FolderCache {
|
||||
|
||||
Reference in new issue
Block a user