Paul,

Thanks for your reply. 

Yes the V3.16rc2 does compile without issues on SLX 14.1 X64.

The other workaround also worked. 

Many thanks.

Paul O

-----Original Message-----
From: Paul Wouters [mailto:[email protected]] 
Sent: 09 December 2015 18:25
To: Paul Overton <[email protected]>
Cc: [email protected]
Subject: Re: [Swan] Libreswan on Slackware 14.1

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

--
This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by Trusted Management Limited, and is
believed to be clean.

_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to