🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Hilmar Lapp Fri, 05 Aug 1994 17:52
TIN: gcc-warning: incompatible pointer
#10668
Author: Hilmar Lapp
Date: Fri, 05 Aug 1994 17:52
26 lines
2091 bytes
hi netters,

i got TIN-source from src.doc.ic.ac.uk (version 1.22) and built successfully
(I'm running Linux, kernel 1.1.18, slackware 2.0, gcc 2.5.8, libraries 4.5.24
and 1.06 resp.; BTW could anyone point out which version number corresponds
to which library ?). Till now, the program seems to work fine.

During compiling, i got several warnings about incompatible pointer type in
passing to qsort: (an example)

active.c: In function `check_for_any_new_groups':
active.c:615: warning: passing arg 4 of `qsort' from incompatible pointer type
active.c:616: warning: passing arg 4 of `qsort' from incompatible pointer type

Does anybody know whether I don't need to worry at all or will it only be a
question of time to see rtin crashing ?

Thanks for all answers.

-----------------------------------------------------------------------------
Hilmar Lapp                e-mail: hili@deep-thought.biologie.uni-freiburg.de
Institut f. Biologie II    phone : +49 761 203 2656 
Universitaet Freiburg
-----------------------------------------------------------------------------
           "Truth is just another hypothesis about reality."
-----------------------------------------------------------------------------
Re: TIN: gcc-warning: incompatible pointer
#10718
Author: Michael Bergman
Date: Mon, 08 Aug 1994 12:21
22 lines
1701 bytes
Hilmar Lapp (hili@al-bundy.biologie.uni-freiburg.de) wrote:

>active.c: In function `check_for_any_new_groups':
>active.c:615: warning: passing arg 4 of `qsort' from incompatible pointer type
>active.c:616: warning: passing arg 4 of `qsort' from incompatible pointer type

>Does anybody know whether I don't need to worry at all or will it only be a
>question of time to see rtin crashing ?

Don't worry, it won't crash. I looked at the code in active.c to see
what exactly causes the warnings and there's no problem with it. (Probably
should be casted properly though to make gcc shut up)

Cheers,
M
--
Michael Bergman			Email: euambn@eua.ericsson.se	
EUA/XO				Phone: +46 8 7275709
Ellemtel Telecom Systems Labs, Armborstv 14,  S-125 25 Alvsjo, Sweden
--
In the middle of chaos a voice spoke to me: "Laugh and be happy for it
could be worse!" - And I smiled and was happy and it got worse.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads