The fact that GCC produces an error that's just as bad as I thought it
would be when I called bat.eat() as in the sample code in the
wikipedia article makes me more confident that I'm right:
-*- mode: compilation; default-directory: "/home/peter/cpp_tests/" -*-
Compilation started at Thu Feb 24 03:07:35
c++ diamond.cpp
diamond.cpp: In function ‘int main()’:
diamond.cpp:26:7: error: request for member ‘eat’ is ambiguous
diamond.cpp:4:16: error: candidates are: virtual void Animal::eat()
diamond.cpp:4:16: error: virtual void Animal::eat()
Compilation exited abnormally with code 1 at Thu Feb 24 03:07:36
--
Regards,
Peter Geoghegan