# HG changeset patch # User Michael Goffioul # Date 1267388405 0 # Node ID 950c23c26f876669f4adf2294153a38435292e9c # Parent 1f11fabfa34957118b2a7c3a118f2e9e1c8cbd51 Remove obsolete DiagArray2::Proxy explicit instantiations. diff --git a/liboctave/Array-C.cc b/liboctave/Array-C.cc --- a/liboctave/Array-C.cc +++ b/liboctave/Array-C.cc @@ -97,7 +97,4 @@ #include "DiagArray2.h" #include "DiagArray2.cc" -#ifdef _MSC_VER -template class OCTAVE_API DiagArray2::Proxy; -#endif template class OCTAVE_API DiagArray2; diff --git a/liboctave/Array-d.cc b/liboctave/Array-d.cc --- a/liboctave/Array-d.cc +++ b/liboctave/Array-d.cc @@ -164,7 +164,4 @@ #include "DiagArray2.h" #include "DiagArray2.cc" -#ifdef _MSC_VER -template class OCTAVE_API DiagArray2::Proxy; -#endif template class OCTAVE_API DiagArray2; diff --git a/liboctave/Array-f.cc b/liboctave/Array-f.cc --- a/liboctave/Array-f.cc +++ b/liboctave/Array-f.cc @@ -164,7 +164,4 @@ #include "DiagArray2.h" #include "DiagArray2.cc" -#ifdef _MSC_VER -template class OCTAVE_API DiagArray2::Proxy; -#endif template class OCTAVE_API DiagArray2; diff --git a/liboctave/Array-fC.cc b/liboctave/Array-fC.cc --- a/liboctave/Array-fC.cc +++ b/liboctave/Array-fC.cc @@ -98,7 +98,4 @@ #include "DiagArray2.h" #include "DiagArray2.cc" -#ifdef _MSC_VER -template class OCTAVE_API DiagArray2::Proxy; -#endif template class OCTAVE_API DiagArray2; diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,11 @@ +2010-02-28 Michael Goffioul + + * Array-C.cc (DiagArray2::Proxy): Remove explicit + instantiation under MSVC. + Array-d.cc (DiagArray2::Proxy): Ditto. + Array-f.cc (DiagArray2::Proxy): Ditto. + Array-fC.cc (DiagArray2 * Array-util.cc (gripe_index_out_of_range): Throw errors with id.