Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: gnu.gcc Subject: Re: Function parameter type checking and coercing Message-ID: <40188@lll-winken.LLNL.GOV> Date: 2 Dec 89 00:05:29 GMT References: <40149@lll-winken.LLNL.GOV> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Distribution: gnu Organization: Lawrence Livermore National Laboratory Lines: 9 Thanks to everyone for pointing out my mistake. It's just been too long since I last did any real programming. I should have seen the problem myself. I needed to declare the function "sub" in some manner before using it to get ANSI parameter type checking. I could have done this either by placing the text of "sub" before "main" or by offering a prototype declaration of "sub" before using it in "main". Brought to you by Super Global Mega Corp .com