octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Compilation fixes: remove extern template and add declaratio


From: Michael Goffioul
Subject: Re: [PATCH] Compilation fixes: remove extern template and add declarations.
Date: Tue, 12 Feb 2008 22:19:49 +0100

On 2/12/08, Jason Riedy <address@hidden> wrote:
> The template <> extern bool... declarations in Array.cc use an
> extension that isn't accepted by g++-4.3.  I don't know what the
> intent was.

The intent was to declare that there are explicit specializations
implemented in another file and prevent the compiler to instantiate
functions for these cases (this lead to symbol multiple definition
error at link time with MSVC). With you patch, what will the compiler
do? Instantiate the functions using the template code above?
If yes, what version will be actually exported by the liboctave
library?

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]