[GiNaC-devel] release 1.3.6

Chris Dams Chris.Dams at mi.infn.it
Wed Dec 13 12:57:25 CET 2006


Dear Alexei,

On Wed, 13 Dec 2006, Sheplyakov Alexei wrote:

> // bugme.cpp
> #include <ginac/ginac.h>
> namespace GiNaC {
>  class lanczos_coeffs;
> }
> 
> void foo() {
> using namespace GiNaC;
> lanczos_coeffs bugme; 
> // do something here
> }

The compiler says: "error: aggregate GiNaC::lanczos_coeffs bugme has
incomplete type and cannot be defined".

Hence, users would have to import the entire definition of this class from 
the file numeric.cpp. I think in that case they should know that they are 
doing something non-standard that can break at any time. If this is the 
only problem with it, I would not worry too much.

Best wishes,
Chris



More information about the GiNaC-devel mailing list