Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 31 Jul 2002 10:49:41 +0800 From: =?BIG5?B?sWmr7a3X?= To: cygwin AT cygwin DOT com Subject: "parse error before" bug Message-Id: <20020731104833.C5C6.CHANGHT@ismp.iie.ncku.edu.tw> MIME-Version: 1.0 X-scanner: scanned by Inflex 1.0.10 - (http://pldaniels.com/inflex/) Content-Type: text/plain; charset="BIG5" Content-Transfer-Encoding: 8bit hi i'm compiling a small program go.c like: ---------------------------------------------- #include 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/