[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-708-ga569b474
Richard B. Kreckel
kreckel at in.terlu.de
Mon Feb 8 12:34:02 CET 2021
Alexey,
On 08.02.21 11:10, Alexey Sheplyakov wrote:
> I think it's implementation defined. The definition of lst::info() is available
> in lst.cpp only, and nothing in that translation unit uses lst::info().
> Therefore the compiler is not obliged to instantiate lst::info() (although it's
> OK to do so). gcc and clang seem to instantiate it, but msvc needs the explicit
> instantiation (or something which triggers the implicit instantiation, like
> `dummy_func` in exprseq.cpp)
If we just provided an inlined definition lst::info() in lst.h, all
compilers should be happy, right?
-richy.
--
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>
More information about the GiNaC-devel
mailing list