diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2021-02-22 10:29:55 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2021-02-22 10:38:42 +0100 |
commit | c364a0962b0c7b93ff7f7801ec805e6ea25e1a5a (patch) | |
tree | db03b7e19dbc76b3a2e9fcdc935cf862b719e51c /pimd/pim_ssmpingd.h | |
parent | Merge pull request #7444 from sudhanshukumar22/bgp-clean-dampening-issue (diff) | |
download | frr-c364a0962b0c7b93ff7f7801ec805e6ea25e1a5a.tar.xz frr-c364a0962b0c7b93ff7f7801ec805e6ea25e1a5a.zip |
lib: fix c++ usage of zlog
Since some recent commit, building c++ code attempting to use zlog_debug
(or any other level) would fail with the following complaint:
lib/zlog.h:91:3: sorry, unimplemented: non-trivial designated
initializers not supported
};
^
lib/zlog.h:105:26: note: in expansion of macro ‘_zlog_ref’
#define zlog_debug(...) _zlog_ref(LOG_DEBUG, __VA_ARGS__)
This is due to out-of-order initialization of the xrefdata struct
fields. Setting them all in the order in which they are defined
fixes the issue.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'pimd/pim_ssmpingd.h')
0 files changed, 0 insertions, 0 deletions