[haiku-development] Re: Trouble building hybrid (GIFLoad.cpp)

  • From: Eddy Derick <eddyderick@xxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 11 Mar 2013 12:16:49 +0100

Le 11 mars 2013 à 12:00, Marcus Jacob <rossi@xxxxxxxxxxxxxxx> a écrit :

> Hi,
> 
> maybe I've been away to long and forgot everything. But I can't manage to 
> build a hybrid. The build fails, when building GIFLoad.cpp:355:27 with array 
> subscript is below arry bounds (gcc4 portion of build).
> 
> Any hint what I'm doing wrong?
> 
> I cloned the repo yesterday evening.
> 
> Cheers,
> Rossi
> 
> PS: What is the current repository for Pe?
> 
> -- 
> Marcus Jacob
> 
> skype:marcus.jacob.de
> twitter:mjacob73
> 
> http://www.linkedin.com/in/marcusjacob
> http://www.xing.com/profile/Marcus_Jacob5
> 
> PGP Key available:
> ldap://keyserver.pgp.com
> PGP Fingerprint: 1FD9 EF5D 8A6C 1C81 9E2B  BFDB CB11 5CB3 4E04 B87F
> 
> 
Hi Marcus,

You did nothing wrong, I faced the same problem when recompiling gcc4hybrid.
With help, I changed fOldCodeLength from "int" to "unsigned int" in GIFLoad.h 
line 89 and "int x" to "unsigned int x" in GIFLoad.cpp lines 343, 351 and 364.
It is a dirty fix but it should allow you to pass the compilation process.

Regards,

Eddy

Other related posts: