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 class player.h, and the player.h 
including the game.h header class, or includes any class that includes 
the game.h header class.

It might occur too when you have an assignment outside of a function, or 
you forgot a simple ; at the end of the line.

It might be one of those cases, or another one more complex. That is why 
it is important to know if you made changes in the NS source code.


Best regards,
Fernando Rocha

Diana Benitez wrote:
 
 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.
 
 _
 Get more out of the Web. Learn 10 hidden secrets of Windows Live.
 http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
 



[ns] NS2 Visual Trace Analyzer

2008-06-18 Thread Fernando Rocha

Hello!

   I would like to announce a new free application to analyze ns2 trace 
files. It's a standalone application with no need to install. It works 
under Windows XP and Windows Vista, it might also run under Linux with 
Wine emulation.
   The requisites are only OpenGL general libraries. Most computers 
should have that, I think.
   You can download at: http://ns-analyzer.selfip.com/forum/
   You are all welcome to download, test, post comments, questions or 
suggestions at the forum. I hope it will be useful.
   Any problem regarding the application, please e-mail me back.

   Thank you very much in advance.


Best regards,
Fernando Rocha