[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 3.0.1 available for ftp
From: |
Michael Goffioul |
Subject: |
Re: Octave 3.0.1 available for ftp |
Date: |
Tue, 22 Apr 2008 11:11:19 +0200 |
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.
- Octave 3.0.1 available for ftp, John W. Eaton, 2008/04/21
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/21
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/22
- Re: Octave 3.0.1 available for ftp, Michael Goffioul, 2008/04/22
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/22
- Re: Octave 3.0.1 available for ftp,
Michael Goffioul <=
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/22
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/24
- Re: Octave 3.0.1 available for ftp, Michael Goffioul, 2008/04/24
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/24
- Re: Octave 3.0.1 available for ftp, David Bateman, 2008/04/24
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/24
- Re: Octave 3.0.1 available for ftp, Michael Goffioul, 2008/04/24
- Re: Octave 3.0.1 available for ftp, John W. Eaton, 2008/04/24
- Re: Octave 3.0.1 available for ftp, Tatsuro MATSUOKA, 2008/04/24
- about 'round' function on mingw, Tatsuro MATSUOKA, 2008/04/24