From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11017 invoked by alias); 16 Nov 2004 03:57:51 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 10990 invoked from network); 16 Nov 2004 03:57:46 -0000 Received: from unknown (HELO webmail-outgoing.us4.outblaze.com) (205.158.62.67) by sourceware.org with SMTP; 16 Nov 2004 03:57:46 -0000 Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 5172D18001D7 for ; Tue, 16 Nov 2004 03:57:46 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 16 Nov 2004 03:57:45 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 6C11C23CE6; Tue, 16 Nov 2004 03:57:45 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [66.91.118.223] by ws5-3.us4.outblaze.com with http for sam124@operamail.com; Tue, 16 Nov 2004 04:57:45 +0100 From: "Sam Lauber" To: "David Skinner" , gcc@gcc.gnu.org Date: Tue, 16 Nov 2004 04:50:00 -0000 Subject: Re: feature request X-Originating-Ip: 66.91.118.223 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20041116035745.6C11C23CE6@ws5-3.us4.outblaze.com> X-SW-Source: 2004-11/txt/msg00503.txt.bz2 I agree with you. It's very frustrating when I forget the semicolon and GCC= says that. But I have an idea: code: return "something" /* no semicolon */ GCC: somefile.c:35: no semicolon at end of line I think that would be a good idea. Maybe there could be an option -falterni= tive-semicolons that switches between your behavior, my behavior, and the d= efault. Samuel Lauber ----- Original Message ----- From: David Skinner To: gcc@gnu.org Subject: feature request Date: Mon, 15 Nov 2004 14:08:09 -0800 >=20 > could this sort of output : >=20 > gcc -O2 -g -c -DLINUX_X86 -I../include -DIPM_SYSLOG_DIR=3D"\"/doesnotexis= t\"" > -DPENTIUM_M -I/usr/common/usg/papi/3.0b4//include -DHPM_PAPI > -DPENTIUM_M libipm.c > libipm.c: In function `ipm_report': > libipm.c:5650: syntax error before ';' token > make[1]: *** [libipm.a] Error 1 >=20 > be augmented with a line or two given context of the error? >=20 >=20 > gcc -O2 -g -c -DLINUX_X86 -I../include -DIPM_SYSLOG_DIR=3D"\"/doesnotexis= t\"" > -DPENTIUM_M -I/usr/common/usg/papi/3.0b4//include -DHPM_PAPI > -DPENTIUM_M libipm.c > libipm.c: In function `ipm_report': > libipm.c:5650: syntax error before ';' token > libipm.c: /* print stuff */ > libipm.c: printf("I forgot the semicolon\n") > libipm.c: printf("I remembered it this time :)\n"); > make[1]: *** [libipm.a] Error 1 >=20 >=20 --=20 _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. =46rom your mailbox to local or overseas cell phones. Powered by Outblaze