smaugfuss 1.9 with telnet negotiations

Posted by Lerkista on Wed 10 Sep 2014 11:13 PM — 3 posts, 16,847 views.

#0
Hi

I´ve downloaded this codebase, and try to run, but it has many warnings about variables declared and not used, i have to disable the warnings as errors in the compiler, why is that??

it´s safe to delete all those variables to compile it normally??

thanks
USA Global Moderator #1
Compilers change with time.

Yes, probably.
Australia Forum Administrator #2
The C compiler-writers are trying to get people to write tighter code, so they are gradually making things warnings or errors which they used to let through. You can always disable "warnings as errors" to let warnings through the compilation.

But really, it should compile without warnings nor errors, and if it says a variable isn't used you can probably remove it.