Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ smaugfuss 1.9 with telnet negotiations

smaugfuss 1.9 with telnet negotiations

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Lerkista   (57 posts)  Bio
Date Wed 10 Sep 2014 11:13 PM (UTC)
Message
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
Top

Posted by Fiendish   USA  (2,536 posts)  Bio   Global Moderator
Date Reply #1 on Thu 11 Sep 2014 01:45 AM (UTC)
Message
Compilers change with time.

Yes, probably.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 11 Sep 2014 09:18 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,779 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.