mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Build: switch on -Wextra, get rid of most of the warnings
There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive.
This commit is contained in:
committed by
Ondrej Zajicek (work)
parent
17fe57d8dc
commit
3e236955c9
@@ -62,6 +62,13 @@
|
||||
#define UNUSED __attribute__((unused))
|
||||
#define PACKED __attribute__((packed))
|
||||
|
||||
#ifdef IPV6
|
||||
#define UNUSED4
|
||||
#define UNUSED6 UNUSED
|
||||
#else
|
||||
#define UNUSED4 UNUSED
|
||||
#define UNUSED6
|
||||
#endif
|
||||
|
||||
/* Microsecond time */
|
||||
|
||||
|
Reference in New Issue
Block a user