mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Filter: Silence some warnings in clang
This commit is contained in:
parent
3327d61298
commit
a5b4c21d81
@ -621,10 +621,19 @@ FID_WR_PUT(11)
|
|||||||
#pragma GCC diagnostic ignored "-Woverride-init"
|
#pragma GCC diagnostic ignored "-Woverride-init"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Winitializer-overrides"
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct sym_scope f_type_method_scopes[] = {
|
static struct sym_scope f_type_method_scopes[] = {
|
||||||
FID_WR_PUT(12)
|
FID_WR_PUT(12)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 6
|
#if defined(__GNUC__) && __GNUC__ >= 6
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user