[GiNaC-list] [CLN-list] msvc support patch

Richard B. Kreckel kreckel at ginac.de
Mon Apr 20 22:29:14 CEST 2009


Bruno Haible wrote:
> Michael Goffioul wrote:
>> - struct/class, const/non-const: at some places, CLN foward declares
>> objects as being "class", while there are actually "struct"; VC++ generates
>> different mangled names for struct and class, so you end up with unresolved
>> references.
> What does the C++ standard say about this? Is CLN right, or is MSVC++ right?

I don't think it is worth checking what the standard says about this. 
Even if it permits such sloppiness, they should be avoided. I'll prepare 
a patch for CLN.

Richard B. Kreckel

More information about the GiNaC-list mailing list