[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3.1.52 fails to build in hppa/linux
From: |
Jaroslav Hajek |
Subject: |
Re: 3.1.52 fails to build in hppa/linux |
Date: |
Wed, 25 Feb 2009 06:46:04 +0100 |
On Wed, Feb 25, 2009 at 1:05 AM, Rafael Laboissiere <address@hidden> wrote:
> * Rafael Laboissiere <address@hidden> [2009-02-23 16:54]:
>
>> * Jaroslav Hajek <address@hidden> [2009-02-23 08:40]:
>>
>> > The attached relatively small patch enables building without
>> > OCTAVE_INT_USE_LONG_DOUBLE for me, but still keeps the emulation code
>> > in oct-inttypes.cc.
>>
>> Thanks.
>>
>> > Marco, Rafael, can you try it out?
>>
>> I cannot try it directly but I can release a new version of the Debian
>> octave3.1 package and see how the autobuilders behave. I will do it,
>> eventually.
>
> Good news: the Debian hppa autobuilder compiled successfully version
> 3.1.52-5 of the ocave3.1 package [1]. Just for the record, this
> architecture has:
>
> checking for long double... yes
> checking size of long double... 8
>
> which means that OCTAVE_INT_USE_LONG_DOUBLE is undefined. Compilation of
> oct-inttypes.cc just issues some warnings:
>
> g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
> -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast
> -O2 -g oct-inttypes.cc -o pic/oct-inttypes.o
> oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const
> octave_int<T>&) [with T = unsigned char]':
> oct-inttypes.cc:613: instantiated from here
> oct-inttypes.cc:541: warning: comparison is always false due to limited range
> of data type
> oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const
> octave_int<T>&) [with T = short unsigned int]':
> oct-inttypes.cc:614: instantiated from here
> oct-inttypes.cc:541: warning: comparison is always false due to limited range
> of data type
> oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const
> octave_int<T>&) [with T = unsigned int]':
> oct-inttypes.cc:615: instantiated from here
> oct-inttypes.cc:541: warning: comparison between signed and unsigned integer
> expressions
> oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const
> octave_int<T>&) [with T = long long unsigned int]':
> oct-inttypes.cc:616: instantiated from here
> oct-inttypes.cc:541: warning: comparison between signed and unsigned integer
> expressions
>
>
> [1]
> http://experimental.debian.net/fetch.php?&pkg=octave3.1&ver=3.1.52-5&arch=hppa&stamp=1235485957&file=log&as=raw
>
> Cheers,
>
> --
> Rafael
>
I think even these warnings should now be gone.
regards
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
- Re: 3.1.52 fails to build in hppa/linux, (continued)
- Re: 3.1.52 fails to build in hppa/linux, Marco Atzeri, 2009/02/22
- Re: 3.1.52 fails to build in hppa/linux, John W. Eaton, 2009/02/22
- Re: 3.1.52 fails to build in hppa/linux, Marco Atzeri, 2009/02/23
- Re: 3.1.52 fails to build in hppa/linux, Jaroslav Hajek, 2009/02/23
- Re: 3.1.52 fails to build in hppa/linux, Jaroslav Hajek, 2009/02/23
- Re: 3.1.52 fails to build in hppa/linux, Rafael Laboissiere, 2009/02/23
- Re: 3.1.52 fails to build in hppa/linux, Rafael Laboissiere, 2009/02/24
- Re: 3.1.52 fails to build in hppa/linux,
Jaroslav Hajek <=
- Re: 3.1.52 fails to build in hppa/linux, Marco Atzeri, 2009/02/23
- Re: 3.1.52 fails to build in hppa/linux, Jaroslav Hajek, 2009/02/24