This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14364] Function should depend on template


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]