[Swan-dev] Build issue with rhel7 gcc on commit 297d65c9f

Tuomo Soini tis at foobar.fi
Fri Jun 18 08:08:56 UTC 2021

error: missing braces around initializer [-Werror=missing-braces]

This seem to be gcc bug

It looks this this ugly hack would work as a work-around for this:

struct pfkey_proto_info proto_infos[4] = {{0}};

Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy

More information about the Swan-dev mailing list