Newsgroups: comp.unix.aix Path: utzoo!utgpu!cunews!nrcnet0!cfd.di.nrc.ca!ng From: ng@cfd.di.nrc.ca (Kai Ng) Subject: No-prototype warning wanted from xlc Message-ID: <1991Apr6.233240.375@nrcnet0.nrc.ca> Keywords: xlc prototype warning Sender: root@nrcnet0.nrc.ca (Operator) Nntp-Posting-Host: cfd.di.nrc.ca Reply-To: ng@cfd.di.nrc.ca Organization: Informatics, National Research Council Canada Date: Sat, 6 Apr 91 23:32:40 GMT Hi, I wonder if one can instruct the xlc compiler to issue a warning message whenever a function is used but not prototyped. Other ANSI C compilers I've used before generate such warning unless explicitly suppressed. However xlc seems happy with that. Have I overlooked any option on the man page? Thanks in advance. ...Kai -- ----------------------------------------------------------------------------- Kai S. Ng Informatics, National Research Council Canada INTERNET ng@cfd.di.nrc.ca M-60 Montreal Road, Ottawa, Canada K1A 0R6 BITNET kain@nrcvm01.bitnet VOICE (613) 993-0240 FAX (613) 954-2561