In class filter.h, I have the following forward declarations

template<class T> //Forward declaration due to circular dependency
class Agc;
class FixPt;
class QuantizerCmplx;
template<class T>
class Quantizer;

I get the following errors while compiling with g++.

../source/filter.h: In member function âint FarrowFilter<T>::filter_quantize()â:
../source/filter.h:1837: error: invalid use of undefined type âstruct QuantizerCmplxâ
../source/filter.h:12: error: forward declaration of âstruct QuantizerCmplxâ

How do I solve this problem? It compiles fine with VC++

Thanks