probs with -falt-external-templates
Mark Junker
mjs@prg.hannover.sgh-net.de
Fri Jan 2 20:08:00 GMT 1998
Prev. Author: mjs@prg.hannover.sgh-net.de
Date: 03.01.98
Subject:"probs with -falt-external-templates"
> inc/flib/mod_obj/objbase.h:151: warning: template
> `CString<char>::~CString()' instantiated in file without #pragma interface
Seems to be a problem of constructs like:
template<class T>
class CString {
public:
CString() {}
virtual ~CString() {}
};
class CStringChar : public CString<char> {
CStringChar() {}
};
The problem seems to be caused by not-overloaded functions of a class only
instantiated by a class derived from it ...
Regards, MJS
Use it: _PB3.2 & PREP_ / _ASM & PREASM_ / _NASM & FLINK_
More information about the Gcc-bugs
mailing list