[haiku-commits] Re: haiku: hrev50261 - in src: add-ons/kernel/drivers/graphics/intel_extreme kits/network/netresolv

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 28 Apr 2016 18:02:11 +0200

On 04/28/2016 05:40 PM, Alexander von Gluck IV wrote:

April 28 2016 2:52 AM, "Ingo Weinhold" <ingo_weinhold@xxxxxx> wrote:
On 04/28/2016 09:30 AM, Adrien Destugues wrote:

42b76781985b: netresolv: Fix build issues under Ubuntu 16.04 and OS X

* Either gcc or bison version changes are throwing a
sign-compare Werror in the generateda irs nslexer.c
* This simply targets that Werror and disabled it in irs

what about fixing the problem instead of hiding it?

I think this may just be an intermediate issue with certain versions of flex. I 
saw it with 2.5.37
IIRC, but upgrading to 2.5.39 fixed it. Not sure which version Ubuntu 16.04 
uses, but might be
worth checking.

I looked at it for a while but have 0 flex/bison/yacc knowledge and couldn't 
figure out a better solution.

Since this code is pretty core to our network stack, I disabled Werror until 
someone with more bison knowledge
could take a crack.

Feel free to fix more completely if you have the l33t bison skills :-)

You misunderstood me. You probably simply need to update flex on your host machine to a version that doesn't have this bug. 2.5.39 works for instance, 2.5.37 does not. There's a version 2.6.0 as well, but I haven't tried it beyond attempting to build it from the source and being told that it requires a newer auto tools version.

CU, Ingo


Other related posts: