[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43318] [MinGW] "unknown type name 'int64_t'"
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #43318] [MinGW] "unknown type name 'int64_t'" with --enable-64 when compiling some OF packages |
Date: |
Fri, 12 Dec 2014 17:25:27 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #4, bug #43318 (project octave):
ltfat will installed ok on my 64 bit 3.8.2 with it moved.
I believe quaterian, fuzzy logic installed ok on 64 bit 3.8.2 without the
change.
I was going to do a new install just to make sure.
The image odepkg, fl-core, netcdf packages now have a different problem.
>> pkg install image-2.2.2.tar.gz
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with ET = octave_int<signed
char>; MT = intNDArray<octave_int<signed char> >; ET_OUT = double;
octave_idx_type = long long int]':
__spatial_filtering__.cc:600:9: required from here
__spatial_filtering__.cc:191:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type {aka long long int}'
is ambiguous
hist (vals (i) + add) ++;
^
__spatial_filtering__.cc:191:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/idx-vector.h:35:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:36,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:884:3:
note: octave_int<T>::operator float() c
onst [with T = signed char]
operator float (void) const { return float_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:882:3:
note: octave_int<T>::operator double()
const [with T = signed char]
operator double (void) const { return double_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:878:3:
note: octave_int<T>::operator T() const
[with T = signed char]
operator T (void) const { return value (); }
^
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:389:6:
note: initializing argument 1 of 'T& Array<T>:
:operator()(octave_idx_type) [with T = double; octave_idx_type = long long
int]'
T& operator () (octave_idx_type n) { return elem (n); }
^
__spatial_filtering__.cc:193:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type {aka long long int}'
is ambiguous
hist (vals (i) + add) /= (double)len;
^
__spatial_filtering__.cc:193:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/idx-vector.h:35:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:36,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:884:3:
note: octave_int<T>::operator float() c
onst [with T = signed char]
operator float (void) const { return float_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:882:3:
note: octave_int<T>::operator double()
const [with T = signed char]
operator double (void) const { return double_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:878:3:
note: octave_int<T>::operator T() const
[with T = signed char]
operator T (void) const { return value (); }
^
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:389:6:
note: initializing argument 1 of 'T& Array<T>:
:operator()(octave_idx_type) [with T = double; octave_idx_type = long long
int]'
T& operator () (octave_idx_type n) { return elem (n); }
^
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with ET = octave_int<unsign
ed char>; MT = intNDArray<octave_int<unsigned char> >; ET_OUT = double;
octave_idx_type = long long int]':
__spatial_filtering__.cc:602:9: required from here
__spatial_filtering__.cc:191:25: error: conversion from 'octave_int<unsigned
char>' to 'octave_idx_type {aka long long int
}' is ambiguous
hist (vals (i) + add) ++;
^
__spatial_filtering__.cc:191:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/idx-vector.h:35:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:36,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:884:3:
note: octave_int<T>::operator float() c
onst [with T = unsigned char]
operator float (void) const { return float_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:882:3:
note: octave_int<T>::operator double()
const [with T = unsigned char]
operator double (void) const { return double_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:878:3:
note: octave_int<T>::operator T() const
[with T = unsigned char]
operator T (void) const { return value (); }
^
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:389:6:
note: initializing argument 1 of 'T& Array<T>:
:operator()(octave_idx_type) [with T = double; octave_idx_type = long long
int]'
T& operator () (octave_idx_type n) { return elem (n); }
^
__spatial_filtering__.cc:193:25: error: conversion from 'octave_int<unsigned
char>' to 'octave_idx_type {aka long long int
}' is ambiguous
hist (vals (i) + add) /= (double)len;
^
__spatial_filtering__.cc:193:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/idx-vector.h:35:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:36,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:884:3:
note: octave_int<T>::operator float() c
onst [with T = unsigned char]
operator float (void) const { return float_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:882:3:
note: octave_int<T>::operator double()
const [with T = unsigned char]
operator double (void) const { return double_value (); }
^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:878:3:
note: octave_int<T>::operator T() const
[with T = unsigned char]
operator T (void) const { return value (); }
^
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27:0,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:389:6:
note: initializing argument 1 of 'T& Array<T>:
:operator()(octave_idx_type) [with T = double; octave_idx_type = long long
int]'
T& operator () (octave_idx_type n) { return elem (n); }
^
make: *** [__spatial_filtering__.oct] Error 1
make: Entering directory `/tmp/oct-38/image/src'
C:/Octave/octave-3.8.2/bin/mkoctfile-3.8.2.exe __spatial_filtering__.cc
make: Leaving directory `/tmp/oct-38/image/src'
pkg: error running `make' for the image package.
error: called from 'configure_make' in file
C:\Octave\octave-3.8.2\share\octave\3.8.2\m\pkg\private\configure_make.m near
line 82, column 9
error: called from:
error: C:\Octave\octave-3.8.2\share\octave\3.8.2\m\pkg\private\install.m at
line 199, column 5
error: C:\Octave\octave-3.8.2\share\octave\3.8.2\m\pkg\pkg.m at line 394,
column 9
>>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43318>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/