Most probably, you forgot to include a statement like

using namespace dealii;

on top of your include file. The exact same thing happens to me all time I 
create a new header file... 

:)

Luca. 

--
Luca Heltai <[email protected]>
http://people.sissa.it/~heltai/
Scuola Internazionale Superiore di Studi Avanzati
Phone:  +39 040 3787 449, Office: 732
--
There are no answers, only cross references

On 14/dic/2010, at 18.46, Ted Kord wrote:

> 
> 
> 64: template <int rank, int dim>
> 65: class TensorCoefficient : public TensorFunction<rank, dim> 
> 66: {
> 67: public:
> 68:   TensorCoefficient () : TensorFunction<rank, dim>() {}
> 69:   
> 70:   virtual Tensor<rank, dim> value (const Point<dim> &p) const;
> 71: };
> 
> I get the following compilation errors:
> 
> 
> main.cc:65:51: error: expected template-name before '<' token
> main.cc:65:51: error: expected '{' before '<' token
> main.cc:65:51: error: expected unqualified-id before '<' token
> main.cc:71:2: warning: extra ';'
> 
> I'm not certain what the problem is. Is there a typename required somewhere?
> 

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to