| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <000701c23846$3153b1f0$6401a8c0@bmj2001> |
| From: | "Robert McNulty Junior" <bmj2001 AT bellsouth DOT net> |
| To: | =?BIG5?B?sWmr7a3X?= <changht AT cad DOT iie DOT ncku DOT edu DOT tw>, <cygwin AT cygwin DOT com> |
| References: | <20020731104833 DOT C5C6 DOT CHANGHT AT ismp DOT iie DOT ncku DOT edu DOT tw> |
| Subject: | Re: "parse error before" bug |
| Date: | Tue, 30 Jul 2002 22:56:04 -0500 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
----- Original Message -----
From: "±i«í×" <changht AT ismp DOT iie DOT ncku DOT edu DOT tw>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, July 30, 2002 9:49 PM
Subject: "parse error before" bug
> hi
>
> i'm compiling a small program go.c like:
>
> ----------------------------------------------
> #include <stdio.h>
> int main(){
> printf("parse error after this");
> int a;
> }
> ----------------------------------------------
>
> with the error below:
>
> ----------------------------------------------
> $ gcc go.c -o go
> go.c: In function `main':
> go.c:4: parse error before `int'
>
> ----------------------------------------------
>
> i found removing the line "printf(....);" turns to be OK then.
>
> Evnironment:
> Notebook: compaq presario 1700 with PIII 933-M
> Windows XP + gcc 2.95.3-5 (Cygwin Setup.exe version 2.249.2.5)
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
#include <stdio.h>
int main(){
int a;
printf("parse error after this");
}
Variables are always before compiler functions.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |