bugGNU Octave - Bugs: bug #59160, [octave forge] (ocl) Installation...

 
 

bug #59160: [octave forge] (ocl) Installation error using clang

Submitter:  None
Submitted:  Tue 22 Sep 2020 06:28:46 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Sep 2020 07:47:59 PM UTC, comment #5: 

Success! GCC 10.2.0 built it and Clang 10.0.1 did not. Thank you Markus Mützel for pointing out the compiler connection! This (spurious) bug can be closed.

Anonymous
Tue 22 Sep 2020 07:32:32 PM UTC, comment #4: 

My current installation of Octave was built with Clang 10.0.1. I also have GCC 10.2.0. I will build a new version with GCC since that works for you.

Anonymous
Tue 22 Sep 2020 07:01:12 PM UTC, comment #3: 

Works for me with 6.0.90 and 7.0.0 (hg id b8e9e012bb21).
Which compiler do you use?

>> mkoctfile -p CC
gcc
>> system ("gcc --version")
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


And please attach long logs as a file. Don't copy them to the discussion.

Markus Mützel <mmuetzel>
Group administrator
Tue 22 Sep 2020 06:33:11 PM UTC, comment #2: 

The post is too long to show?

To reproduce: run "pkg install -forge ocl"

Errors:


ocl_array.cc:2066:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:263:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2066:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:261:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:2067:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:243:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2067:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:241:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^


ending with


error: pkg: error running 'make' for the ocl package.
error: called from
    configure_make at line 110 column 9
    install at line 196 column 7
    pkg at line 568 column 9


Anonymous
Tue 22 Sep 2020 06:30:36 PM UTC, comment #1: 

Verbatim tags got messed up. Posting again.


octave:11> pkg install -forge ocl
ocl_array.cc:428:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (2, 2, k+1, dimensions.numel (1));
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:446:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (3, 3, k+1, dimensions.numel (2));
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:789:15: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
      octave::err_index_out_of_range (ial, i+1, ia (i).extent (dv (i)), dv (i)); // throws
              ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:2066:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:263:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2066:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:261:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:2067:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:243:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2067:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:241:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2089:1: note: in instantiation of member function
      'OclArray<octave_int<signed char> >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_int8  );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2090:1: note: in instantiation of member function 'OclArray<octave_int<short> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int16 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2091:1: note: in instantiation of member function 'OclArray<octave_int<int> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int32 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2092:1: note: in instantiation of member function 'OclArray<octave_int<long> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int64 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2093:1: note: in instantiation of member function 'OclArray<octave_int<unsigned char>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint8 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2094:1: note: in instantiation of member function 'OclArray<octave_int<unsigned short>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint16);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2095:1: note: in instantiation of member function 'OclArray<octave_int<unsigned int>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint32);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2096:1: note: in instantiation of member function 'OclArray<octave_int<unsigned long>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint64);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2097:1: note: in instantiation of member function 'OclArray<float>::linear_slice' requested here
INSTANTIATE_OCLARRAY (float        );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2098:1: note: in instantiation of member function 'OclArray<double>::linear_slice' requested here
INSTANTIATE_OCLARRAY (double       );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2099:1: note: in instantiation of member function 'OclArray<std::complex<float> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (FloatComplex );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2100:1: note: in instantiation of member function 'OclArray<std::complex<double> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (Complex      );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::t_id'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::t_id' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::t_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::t_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::c_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::c_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::t_id'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::t_id' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::t_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::t_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::c_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::c_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_id' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_id' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_name' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::c_name' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::c_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<std::complex<float>
      > >::t_id' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:190:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single_complex, octave_ocl_float_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<f

Anonymous
Tue 22 Sep 2020 06:28:46 PM UTC, original submission:  


octave:11> pkg install -forge ocl
ocl_array.cc:428:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (2, 2, k+1, dimensions.numel (1));
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:446:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (3, 3, k+1, dimensions.numel (2));
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:789:15: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
      octave::err_index_out_of_range (ial, i+1, ia (i).extent (dv (i)), dv (i)); // throws
              ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:2066:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:263:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2066:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:261:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:2067:1: error: explicit specialization of 'array_prog' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:243:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2067:1: error: explicit specialization of 'kernel_indices' after instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true  );
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int> (); \
                                            ^
ocl_array.cc:241:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2089:1: note: in instantiation of member function
      'OclArray<octave_int<signed char> >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_int8  );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2090:1: note: in instantiation of member function 'OclArray<octave_int<short> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int16 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2091:1: note: in instantiation of member function 'OclArray<octave_int<int> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int32 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2092:1: note: in instantiation of member function 'OclArray<octave_int<long> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (octave_int64 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2093:1: note: in instantiation of member function 'OclArray<octave_int<unsigned char>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint8 );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2094:1: note: in instantiation of member function 'OclArray<octave_int<unsigned short>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint16);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2095:1: note: in instantiation of member function 'OclArray<octave_int<unsigned int>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint32);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2096:1: note: in instantiation of member function 'OclArray<octave_int<unsigned long>
      >::linear_slice' requested here
INSTANTIATE_OCLARRAY (octave_uint64);
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2097:1: note: in instantiation of member function 'OclArray<float>::linear_slice' requested here
INSTANTIATE_OCLARRAY (float        );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2098:1: note: in instantiation of member function 'OclArray<double>::linear_slice' requested here
INSTANTIATE_OCLARRAY (double       );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2099:1: note: in instantiation of member function 'OclArray<std::complex<float> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (FloatComplex );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:463:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, lo+1, numel ());
            ^
ocl_array.cc:2100:1: note: in instantiation of member function 'OclArray<std::complex<double> >::linear_slice'
      requested here
INSTANTIATE_OCLARRAY (Complex      );
^
ocl_array.cc:2086:18: note: expanded from macro 'INSTANTIATE_OCLARRAY'
  template class OclArray<T>;
                 ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
ocl_array.cc:469:13: warning: 'err_index_out_of_range' is deprecated [-Wdeprecated-declarations]
    octave::err_index_out_of_range (1, 1, up, numel ());
            ^
/usr/local/include/octave-7.0.0/octave/lo-array-errwarn.h:134:3: note: 'err_index_out_of_range' has been
      explicitly marked deprecated here
  OCTAVE_DEPRECATED (6, "use err_index_out_of_range (int, int, octave_idx_type, octave_idx_type, const d...
  ^
/usr/local/include/octave-7.0.0/octave/octave-config.h:77:59: note: expanded from macro 'OCTAVE_DEPRECATED'
#      define OCTAVE_DEPRECATED(ver, msg) __attribute__ ((__deprecated__))
                                                          ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::t_id'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::t_id' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::t_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::t_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<double> >::c_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:187:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<double>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double, octave_ocl_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<double> >::c_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::t_id'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::t_id' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::t_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::t_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<float> >::c_name'
      required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:188:43: note: in instantiation of member function 'octave_base_ocl_matrix<OclArray<float>
      >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single, octave_ocl_float_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<float> >::c_name' is explicitly instantiated in another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_id' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_id' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_name' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::t_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::c_name' required here, but no definition is
      available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:189:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( double_complex, octave_ocl_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<double> > >::c_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<std::complex<float>
      > >::t_id' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:190:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single_complex, octave_ocl_float_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::t_id' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<std::complex<float>
      > >::t_name' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:190:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single_complex, octave_ocl_float_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::t_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<std::complex<float>
      > >::c_name' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:190:51: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( single_complex, octave_ocl_float_complex_matrix )
                                                  ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<std::complex<float> > >::c_name' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<octave_int<signed
      char> > >::t_id' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:191:43: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( int8,   octave_ocl_int8_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::t_id' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<octave_int<signed
      char> > >::t_name' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::type_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:191:43: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( int8,   octave_ocl_int8_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:189:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string t_name;                                    \
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::t_name' is explicitly instantiated in
      another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:179:57: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string type_name (void) const { return t_name; }       \
                                                        ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<octave_int<signed
      char> > >::c_name' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::class_name' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:191:43: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( int8,   octave_ocl_int8_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:190:30: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static const std::string c_name;
                             ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<octave_int<signed char> > >::c_name' is explicitly instantiated in
      another translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:180:58: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL std::string class_name (void) const { return c_name; }      \
                                                         ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<octave_int<short> >
      >::t_id' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
./ocl_ov_matrix.h:71:3: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<short> > >::type_id' requested here
  octave_base_ocl_matrix (const AT& m)
  ^
ocl_ov_program.cc:192:43: note: in instantiation of member function
      'octave_base_ocl_matrix<OclArray<octave_int<short> > >::octave_base_ocl_matrix' requested here
      SET_KERNEL_OUTARG_OCL_TYPE( int16,  octave_ocl_int16_matrix )
                                          ^
./ocl_ov_matrix.h:487:3: note: forward declaration of template entity is here
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:188:16: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    static int t_id;                                                    \
               ^
./ocl_ov_matrix.h:487:3: note: add an explicit instantiation declaration to suppress this warning if
      'octave_base_ocl_matrix<OclArray<octave_int<short> > >::t_id' is explicitly instantiated in another
      translation unit
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:178:47: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2'
    VIRTUAL int type_id (void) const { return t_id; }                   \
                                              ^
In file included from ocl_ov_program.cc:26:
./ocl_ov_matrix.h:487:3: warning: instantiation of variable 'octave_base_ocl_matrix<OclArray<octave_int<short> >
      >::t_name' required here, but no definition is available [-Wundefined-var-template]
  DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
  ^
/usr/local/include/octave-7.0.0/octave/ov-base.h:171:3: note: expanded from macro
      'DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA'
  DECLARE

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-23 siko1056 StatusNone Confirmed
    2020-09-23 siko1056 Item GroupUnexpected Error or Warning Installation Failure
        StatusNeed Info None
        Summary[octave forge] (ocl) Error installing OCL package, &quot;explicit specialization after instantiation&quot; [octave forge] (ocl) Installation error using clang
    2020-09-22 mmuetzel StatusNone Need Info
        Summary[Forge] Error installing OCL package, &quot;explicit specialization after instantiation&quot; [octave forge] (ocl) Error installing OCL package, "explicit specialization after instantiation"

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code