please I have some errors on this that I am having issues to solve.
thanks for the time
/drop-tail.h:63:48: error: ISO C++ forbids declaration of ‘override’ with no type [-fpermissive]
/drop-tail.h:66:51: error: ISO C++ forbids declaration of ‘override’ with no type [-fpermissive]
/drop-tail.h:66:41: error: ‘const int DropTail::override()’ cannot be overloaded
/drop-tail.h:63:38: error: with ‘const int DropTail::override()’
@abhishekm71
thanks for the time. please what are your suggestions
I changed the code to the old version but it still gives almost the same error. Can I change the signatures override1() and override2()
or if you please have a better way that it should be done.
first look at this page and check if your compiler supports the new c++11 function that you want, in cthis case override keyword. http://cpprocks.com/c11-compiler-support-shootout-visual-studio-gcc-clang-intel/
If you are using code blocks, it probably has g++ 4.7 that doesn\t have the override keyword implemented.
But you can use the other c++11 things that are implemented by doing what the second post here ->http://en.sfml-dev.org/forums/index.php?topic=8860.0 says.
If you are using visuas studio 2010 again, it might not have the override keyword implemented.
I am running the program on ns 2.35 with Ubuntu 12.04LTS. I am installing ns 2.35 really but one of the header file to be used by the makefile.ini is having issues.