I'm having this error in the following code:
#include <FWCacheEntry>
template<class T> class LoggerConfigCacheEntry : public FWCacheEntry<T>
{
public:
LoggerConfigCacheEntry(FWCacheEntryData data) : FWCacheEntry<T>(data) //Error in this line
{
ResetCacheEntryScoreCounters();
}
...
};
FWCacheEntry
is:
template<class T> class FWCacheEntry
{
public:
typedef T* FWCacheEntryData;
FWCacheEntry(FWCacheEntryData data)
{
_data = data;
}
...
};
This code compiles cleanly in Solaris but not in Linux. I've read that this error is usually from referring to something unknown, but the include is there.
Can you help me.
Thanks