Re: [ns] Error C++ forbids declaration

2009-02-18 Thread Diana Benitez
Thanks a lot Fernando. I check and it felt a simple } in my code. Thanks, DIANA. Date: Wed, 18 Feb 2009 05:23:07 + From: fro...@student.dei.uc.pt To: paraguayita...@hotmail.com CC: ns-users@ISI.EDU Subject: Re: [ns] Error C++ forbids declaration Hi Diana. Have you

[ns] Error C++ forbids declaration

2009-02-17 Thread Diana Benitez
Hi everyone: When I compile I get the following error: ISO C++ forbids declaration of 'class_wdhdr' with no type Did someone know how to solve this error? 'class_wdhdr' is a new header I am trying to create. Thanks DIANA.

Re: [ns] Error C++ forbids declaration

2009-02-17 Thread Fernando Rocha
Hi Diana. Have you made some changes in NS source code? That might occur when you forgot to include the proper header file for the class_wdhdr class or when you have circular references in C++ header files (.h). For instance, when you have a header class like game.h including the header