help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ 4.1.x compile error with template


From: Thomas Maeder
Subject: Re: g++ 4.1.x compile error with template
Date: Mon, 29 May 2006 18:12:47 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

agarkar@gmail.com 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]