From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30565 invoked by alias); 8 Jun 2004 16:22:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 30517 invoked from network); 8 Jun 2004 16:22:16 -0000 Received: from unknown (HELO masquerade.micron.com) (137.201.242.130) by sourceware.org with SMTP; 8 Jun 2004 16:22:16 -0000 Received: from mail-srv1.micron.com (localhost [127.0.0.1]) by masquerade.micron.com (8.12.9/8.12.2) with ESMTP id i58GMFh9014131 for ; Tue, 8 Jun 2004 10:22:15 -0600 (MDT) Received: from ntxboimbx07.micron.com (ntxboimbx07.micron.com [137.201.80.94]) by mail-srv1.micron.com (8.12.9/8.12.2) with ESMTP id i58GMEMT014122; Tue, 8 Jun 2004 10:22:14 -0600 (MDT) From: lrtaylor@micron.com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: help needed Date: Tue, 08 Jun 2004 16:22:00 -0000 Message-ID: <363801FFD7B74240A329CEC3F7FE4CC403095DAF@ntxboimbx07.micron.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: To: , X-Scanned-By: MIMEDefang 2.37 X-SW-Source: 2004-06/txt/msg00078.txt.bz2 main returns an int, but the void in the parameter list is not necessary. "int main()" is equivalent. Thanks, Lyle -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Claudio Bley Sent: Tuesday, June 08, 2004 4:17 AM To: gcc-help@gcc.gnu.org Subject: Re: help needed > void main () This *needs* to be "int main(void)".