Mercurial > octave
changeset 29240:0a6ed9dcd601
Silence compiler warnings about ignored attributes (patch #8919).
Remove visibility attributes from instantiations of template classes which
were previously defined.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 29 Dec 2020 19:51:08 +0100 |
parents | f6058c6e1b18 |
children | f207504ae98d |
files | libinterp/octave-value/ov-bool-sparse.cc libinterp/octave-value/ov-bool.cc libinterp/octave-value/ov-complex.cc libinterp/octave-value/ov-cx-sparse.cc libinterp/octave-value/ov-flt-complex.cc libinterp/octave-value/ov-int16.cc libinterp/octave-value/ov-int32.cc libinterp/octave-value/ov-int64.cc libinterp/octave-value/ov-int8.cc libinterp/octave-value/ov-re-sparse.cc libinterp/octave-value/ov-scalar.cc libinterp/octave-value/ov-uint16.cc libinterp/octave-value/ov-uint32.cc libinterp/octave-value/ov-uint64.cc libinterp/octave-value/ov-uint8.cc |
diffstat | 15 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-bool-sparse.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-bool-sparse.cc Tue Dec 29 19:51:08 2020 +0100 @@ -51,7 +51,7 @@ #include "ov-base-sparse.h" #include "ov-base-sparse.cc" -template class OCTINTERP_API octave_base_sparse<SparseBoolMatrix>; +template class octave_base_sparse<SparseBoolMatrix>; DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_sparse_bool_matrix, "sparse bool matrix", "logical");
--- a/libinterp/octave-value/ov-bool.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-bool.cc Tue Dec 29 19:51:08 2020 +0100 @@ -54,7 +54,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_scalar<bool>;
--- a/libinterp/octave-value/ov-complex.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-complex.cc Tue Dec 29 19:51:08 2020 +0100 @@ -57,8 +57,8 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; -extern template class OCTINTERP_API octave_base_scalar<FloatComplex>; +extern template class octave_base_scalar<double>; +extern template class octave_base_scalar<FloatComplex>; template class octave_base_scalar<Complex>;
--- a/libinterp/octave-value/ov-cx-sparse.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-cx-sparse.cc Tue Dec 29 19:51:08 2020 +0100 @@ -52,7 +52,7 @@ #include "ov-bool-sparse.h" -template class OCTINTERP_API octave_base_sparse<SparseComplexMatrix>; +template class octave_base_sparse<SparseComplexMatrix>; DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_sparse_complex_matrix, "sparse complex matrix", "double");
--- a/libinterp/octave-value/ov-flt-complex.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-flt-complex.cc Tue Dec 29 19:51:08 2020 +0100 @@ -56,7 +56,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<float>; +extern template class octave_base_scalar<float>; template class octave_base_scalar<FloatComplex>;
--- a/libinterp/octave-value/ov-int16.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-int16.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<int16NDArray>;
--- a/libinterp/octave-value/ov-int32.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-int32.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<int32NDArray>;
--- a/libinterp/octave-value/ov-int64.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-int64.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<int64NDArray>;
--- a/libinterp/octave-value/ov-int8.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-int8.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<int8NDArray>;
--- a/libinterp/octave-value/ov-re-sparse.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-re-sparse.cc Tue Dec 29 19:51:08 2020 +0100 @@ -52,7 +52,7 @@ #include "ov-bool-sparse.h" -template class OCTINTERP_API octave_base_sparse<SparseMatrix>; +template class octave_base_sparse<SparseMatrix>; DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_sparse_matrix, "sparse matrix", "double");
--- a/libinterp/octave-value/ov-scalar.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-scalar.cc Tue Dec 29 19:51:08 2020 +0100 @@ -61,7 +61,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<float>; +extern template class octave_base_scalar<float>; template class octave_base_scalar<double>;
--- a/libinterp/octave-value/ov-uint16.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-uint16.cc Tue Dec 29 19:51:08 2020 +0100 @@ -63,7 +63,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<uint16NDArray>;
--- a/libinterp/octave-value/ov-uint32.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-uint32.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<uint32NDArray>;
--- a/libinterp/octave-value/ov-uint64.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-uint64.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<uint64NDArray>;
--- a/libinterp/octave-value/ov-uint8.cc Sat Dec 26 10:07:32 2020 +0100 +++ b/libinterp/octave-value/ov-uint8.cc Tue Dec 29 19:51:08 2020 +0100 @@ -62,7 +62,7 @@ // Prevent implicit instantiations on some systems (Windows, others?) // that can lead to duplicate definitions of static data members. -extern template class OCTINTERP_API octave_base_scalar<double>; +extern template class octave_base_scalar<double>; template class octave_base_matrix<uint8NDArray>;