I'd strip -Werror=missing-field-initializers from the warning flags when
trying to build with an old compilers.
The " sk = { ... }" variant of that code's been around for some time and
F28's compiler is happy.On Sat, 20 Oct 2018 at 10:55, Antony Antony <[email protected]> wrote: > it seems only CentOS 7 CentOS 6 hit this failure. I didn't get a chance to > check if it is due changes compile time options. > > /home/build/libreswan/programs/pluto/ikev2_message.c:231:2: error: missing > initializer for field 'len' of 'chunk_t' > [-Werror=missing-field-initializers] > }; > ^ > In file included from > /home/build/libreswan/programs/pluto/ikev2_message.h:19:0, > from > /home/build/libreswan/programs/pluto/ikev2_message.c:32: > /home/build/libreswan/include/chunk.h:40:9: note: 'len' declared here > size_t len; > ^ > /home/build/libreswan/programs/pluto/ikev2_message.c: In function > 'v2_record_outbound_fragment': > /home/build/libreswan/programs/pluto/ikev2_message.c:852:2: error: missing > initializer for field 'len' of 'chunk_t' > [-Werror=missing-field-initializers] > }; > ^ > In file included from > /home/build/libreswan/programs/pluto/ikev2_message.h:19:0, > from > /home/build/libreswan/programs/pluto/ikev2_message.c:32: > /home/build/libreswan/include/chunk.h:40:9: note: 'len' declared here > > -antony > > > > ---------- Forwarded message ---------- > From: Travis CI <[email protected]> > To: <[email protected]> > Cc: > Bcc: > Date: Sat, 20 Oct 2018 14:17:28 +0000 > Subject: Still Failing: antonyantony/libreswan#10497 (travis-centos-7 - > 2b91dfe) > > antonyantony > > / > > libreswan > > <https://travis-ci.org/antonyantony/libreswan?utm_medium=notification&utm_source=email> > > [image: branch icon]travis-centos-7 > <https://github.com/antonyantony/libreswan/tree/travis-centos-7> > [image: build has failed] > Build #10497 is still failing > <https://travis-ci.org/antonyantony/libreswan/builds/444087187?utm_medium=notification&utm_source=email> > [image: arrow to build time] > [image: clock icon]1 min and 40 secs > > [image: Antony Antony avatar]Antony Antony > 2b91dfe CHANGESET → > <https://github.com/antonyantony/libreswan/compare/292eded26292...2b91dfeacaef> > > Merge branch 'master' of https://github.com/libreswan/libreswan > > Want to know about upcoming build environment updates? > > Would you like to stay up-to-date with the upcoming Travis CI build > environment updates? We set up a mailing list for you! > SIGN UP HERE <http://eepurl.com/9OCsP> > > [image: book icon] > > Documentation <https://docs.travis-ci.com/> about Travis CI > Have any questions? We're here to help. <[email protected]> > Unsubscribe > <https://travis-ci.org/account/preferences/unsubscribe?repository=14813931&utm_medium=notification&utm_source=email> > from build emails from the antonyantony/libreswan repository. > To unsubscribe from *all* build emails, please update your settings > <https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email>. > > [image: black and white travis ci logo] <https://travis-ci.com> > > Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF: Konstantin > Haase, Fritz Thielemann | Contact: [email protected] | Amtsgericht > Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß §27 a > Umsatzsteuergesetz: DE282002648 > _______________________________________________ > Swan-dev mailing list > [email protected] > https://lists.libreswan.org/mailman/listinfo/swan-dev >
_______________________________________________ Swan-dev mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-dev
