diff libinterp/octave-value/ov-complex.cc @ 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 254ee9af5014
children 7854d5752dd2
line wrap: on
line diff
--- 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>;