Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!pasteur!ucbvax!rvax.ccit.arizona.edu!EE599038 From: EE599038@rvax.ccit.arizona.edu (Paul Charette) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: MAKEing KA9Q from the sources - Compiler warnings? Message-ID: Date: 27 Feb 90 03:06:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 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' Concerning the first, it seems like Phil passes some parameters to some routines and then never uses them. While this isn't harmful, it goes unexplained. I am just curious as to why this is. I can always suppress the messages by adding "-w-par" to the CFLAGS definition in the makefile. As for the second, I find it a little more disconcerting. It seems to be a result of include files which use structure definitions from other include files. If the "structure defining" include file doesn't get included before the "structure declaring" include file, we get the error. Again, it appears to be non-fatal. My concern with this one is that if I mask it off by appending "-w-stu" to CFLAGS, then any code I add/modify may have undefined structures of my own devising and the compiler won't tell me. I realize that these may just be things I have to live with, and that's okay. I guess I just wanted to make sure I'm not missing something ;-) I suppose once net.exe is MAKEd I can remove the "-w-stu" and "-w-par" from CFLAGS and any warnings that MAKE generates then will be limited to modules that I have been working on. Any explainations, flames, and supportive messages appreciated. Thanks! Paul Charette Department of Electrical and Computer Engineering University of Arizona Tucson, Arizona "The truth doesn't gouge your eyes, but it does redden them." - Maninka proverb