[Swan] Libreswan on Slackware 14.1
Paul Wouters
paul at nohats.ca
Wed Dec 9 18:24:45 UTC 2015
On Wed, 9 Dec 2015, Paul Overton wrote:
> However when I attempt to compile the programs 3.14 or 3.15 I get the following error:
> <stdout>: In function 'yy_scan_bytes':
>
> <stdout>:2169:17: error: comparison between signed and unsigned integer expressions
> [-Werror=sign-compare]
>
> cc1: all warnings being treated as errors
>
> make[3]: *** [lex.yy.o] Error 1
>
> make[3]: Leaving directory `/usr/src/libreswan-3.14/OBJ.linux.x86_64/lib/libipsecconf'
>
> make[2]: *** [local-base] Error 2
Can you try
http://download.libreswan.org/development/libreswan-3.16rc2.tar.gz
and let us know if that resolves your problem? We did some tweaks to
support various older/newer combinations of flex/bison recently.
A quick workaround is to use: export WERROR_CFLAGS=''
> Could anyone give me a clue as to what changed between 3.13 and 3.14 that would cause this issue ?
We turned all warnings into errors :)
Paul
More information about the Swan
mailing list