13 Dec
2006
13 Dec
'06
12:57 p.m.
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