[EMAIL PROTECTED] writes:

> I am not able to compile this with gcc4.x , it works fine with
> gcc3.2.2.
> When I include txbase.h in .C file and build
> g++ -c filename.C
> I get following error. Line 56 is List <TxRule *>   commonValidations;
> in txbase.h
> Based on my reading I will need to add a line in txbase.h to define
> List class, But I am not able to get correct signature
> what will make gcc happy.
> /home/eps/eps_port/te/src/EGIFT/TxFrm/TxInc/txbase.h:56: error: ISO C++
> forbids declaration of 'List' with no type

My guess is that TxRule isn't declared at this point.

If you want more than guesses, please a minimal snippet without
non-Standard #includes.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to