X-Spam-Check-By: sourceware.org Message-ID: <20060302004154.89418.qmail@web36115.mail.mud.yahoo.com> Date: Wed, 1 Mar 2006 16:41:54 -0800 (PST) From: Basavaraj Hiremath Subject: compiler option To: cygwin AT cygwin DOT com In-Reply-To: <20060301231617.GZ3184@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Hi, I am compiling a file(strerror.c) with following option -bash-2.05b$ arm-wince-pe-gcc -mcpu=xscale -c -ansi -D__stdcall= -D_OFF_T_ -DHA VE_CONFIG_H -I/usr/local/wince/cross-tools/include -I. -I./../include -W -Wal l -Wtraditional -pedantic ./strerror.c -o pic/strerror.o It's giving following compilation error /strerror.c:626: error: expected identifier or '(' before string constant /strerror.c:628: error: expected identifier or '(' before '{' token file strerror.c has following function char * strerror (errnoval) -> line 626 int errnoval; { --> line 628 const char *msg; static char buf[32]; ----------- ----- } Could somebody tell me, what is the compiler option to go pass thru this kind of implementation? Thanks in advance Raj __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/