help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.0.1 available for ftp


From: Tatsuro MATSUOKA
Subject: Re: Octave 3.0.1 available for ftp
Date: Tue, 22 Apr 2008 19:02:48 +0900 (JST)

Hi Michael

Thank you for your reply.
Today I have had tough works and heavily tried.
(However my computer have had more tough work because he has built the octave 
on two platforms.!!)
I'll try your suggestions tomorrow if possible.

Regards

Tatsuro


--- Michael Goffioul <address@hidden> wrote:

> On Tue, Apr 22, 2008 at 11:04 AM, Tatsuro MATSUOKA
> <address@hidden> wrote:
> >  > This should have been fixed. Can you check whether HAVE_ROUND is
> >  > defined in your config.h?
> >  =====================================================
> >
> >  488: /* Define to 1 if you have the `round' function. */
> >  489: #define HAVE_ROUND 1
> >
> >  It was defined.
> 
> Then it might be that the "round" implementation in MinGW is
> broken (there's no "round" in MSVC). Manually undefined HAVE_ROUND
> in config.h and recompile lo-mappers.cc (and liboctave.dll) and see if
> if helps.
> 
> >  octave.exe:1>  charset = setstr (0:127);
> >  warning: setstr is obsolete and will be removed from a future version of 
> > Octave; please use
> char
> >  instead
> >  octave.exe:2>
> >  octave.exe:2>  result = zeros (1, 128);
> >  octave.exe:3>
> >  octave.exe:3>  result (33:127) = 1;
> >  octave.exe:4>  if (ispc () && ! isunix ())
> >  >    result(10) = 1;
> >  >  endif
> >  octave.exe:5> isprint (charset)
> >  ans =
> >
> >   Columns 1 through 20:
> >
> >    0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
> > 0   0
> 
> So it seems isprint(setstr(9)) returns 0 with MinGW while it
> returns 1 on MSVC. I guess the test "ispc() and !isunix()"
> should then be adapted, but I don't know how.
> 
> Michael.
> 


--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/


reply via email to

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