Received: by taz.hyperreal.com (8.6.12/8.6.5) id NAA20565; Thu, 13 Jun 1996 13:51:44 -0700 Received: from acidik.organic.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id NAA20550; Thu, 13 Jun 1996 13:51:39 -0700 Received: from localhost (akosut@localhost) by acidik.organic.com (8.7.5/8.6.12) with SMTP id NAA28699 for ; Thu, 13 Jun 1996 13:51:17 -0700 (PDT) X-Authentication-Warning: acidik.organic.com: akosut owned process doing -bs Date: Thu, 13 Jun 1996 13:51:16 -0700 (PDT) From: Alexei Kosut To: new-httpd@hyperreal.com Subject: Re: Solaris 2.4 warnings/error In-Reply-To: <199606132042.QAA18185@telebase.com.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com On Thu, 13 Jun 1996, Chuck Murcko wrote: > Remember, this was *both* compilers, with -v on (stricter semantic checking) > on the Sun cc. There are really only a couple of functions, and the Sun cc > insists on seeing a return() at the end of main. Well, main's been prototyped as an int, so one might expect it (like any other int) function to, well, return an int. Changing it to void makes this warning go away. Is that portable to other systems, or is there a good reason it's an int currently? -- Alexei Kosut http://www.nueva.pvt.k12.ca.us/~akosut/