gcc bug with static members of class templates?
Julian Cummings
cummings at cacr.caltech.edu
Thu Apr 12 00:07:13 UTC 2001
Hi All,
This is mainly directed at Jeffrey, since I know he has
access to the latest and greatest gcc. Compiling with
gcc 2.95.2 on an HP in debug mode, I get a compile
error from array_test22. The loader complains that
TensorEngine<2, double, Antisymmetric>::Zero(data)
is an unsatisfied symbol. It doesn't pick up on the
assignment of the static data member Zero to 0.0
in Tensor.h. Is this just a bug in gcc? I checked that
this test is A-OK with the SGI compiler.
Regards, Julian C.
--
Dr. Julian C. Cummings E-mail: cummings at cacr.caltech.edu
California Institute of Technology Phone: 626-395-2543
1200 E. California Blvd., Mail Code 158-79 Fax: 626-584-5917
Pasadena, CA 91125
More information about the pooma-dev
mailing list