This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14364] Function should depend on template
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 15:34:00 -0000
- Subject: [Bug c++/14364] Function should depend on template
- References: <20040301143212.14364.ben@zeus.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-01 15:33 -------
As another data point, if you compile the example with intel's icc
in strict mode, it gives this:
g/x> icc -c x.cc -Xc -ansi
x.cc(6): error: the global scope has no "CalcHash"
int Hash() const { return ::CalcHash( store ); }
^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14364