Posted on 2001-06-16
I have a file 'A'.cpp that includes a 'B'.h file which in turn declares a template.
'B'.cpp which too includes 'B'.h compiled very well - I have 'B'.obj.
BUT when I try to compile 'A'.cpp I get a strage error message which comes from string_r.h !
Template declaration missing template parameters ('template<...>') in function __string_ref<char,char_traits<char>,allocator<char> >::__references() const
When I do not include 'B'.h in 'A'.cpp everything is all right.
I have no idea what in my project produces this error. I have many fils depending on each other and I could'n isolate the error to a smaller code snipsle.
Does anybody know what to do in this case ... ?