Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!bellcore!ka9q.bellcore.com!karn From: karn@ka9q.bellcore.com (Phil Karn) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: MAKEing KA9Q from the sources - Compiler warnings? Message-ID: <20654@bellcore.bellcore.com> Date: 7 Mar 90 03:04:36 GMT References: Sender: news@bellcore.bellcore.com Reply-To: karn@ka9q.bellcore.com (Phil Karn) Organization: Secular Humanists for No-Code Lines: 29 In article EE599038@rvax.ccit.arizona.edu (Paul Charette) writes: > > I am trying to MAKE KA9Q from it's sources (from the NOS archive >FTP'd from flash.bellcore - src.arc, that is). It _does_ create a perfectly >workable version of net.exe, but I get two flavors of compiler warnings all >through the MAKE process. Examples of these are: > > Warning main.c 166: Parameter 'v2' is never used in function keyboard > >AND > > Warning main.c 577: Undefined structure 'ax25_cb' Yes, these two warnings will occur, but they are harmless. I turn them off in my own turboc.cfg file. The first warning occurs because I have a standard set of parameters for newly created tasks, but not all tasks need them. Turning off this warning doesn't cause any harm. The second warning occurs because there are several occurances of circular structure pointer references, i.e., structure A containing a pointer to an instance of structure B, and vice versa. It's impossible to declare both structures simultaneously, hence the warning. Since all structure pointers have the same size, this doesn't cause any harm. (If the size or contents of the structure were needed, then an error, not a warning, would result.) Phil