octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current build fails


From: Ben Abbott
Subject: Re: current build fails
Date: Sun, 06 Feb 2011 20:39:12 -0500

On Feb 6, 2011, at 8:05 PM, Michael D Godfrey wrote:

> For me (FC14) build fails at src/ls-mat5.cc line 588:
>  586:               error ("load: error uncompressing data element (%s from 
> zlib)",
>  587:                      msg.c_str ());
>  588:               break;
>  589:             }
> =============================
> break is not allowed. 
> 

I'm building now, but it looks to me like the change below will fix the problem.

$ diff ls-mat5.cc /Users/bpabbott/Desktop/ls-mat5.cc 
544,545c544,545
<           int err = uncompress (reinterpret_cast<Bytef *> 
<                                 (const_cast<char *> (outbuf.c_str ())),
---
> 
>           int err = uncompress (reinterpret_cast<Bytef *> (const_cast<char *> 
> (outbuf.c_str ())),
547a548
> 
588d588
<               break;

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]