[vlc] compiler option..

Basavaraj Hiremath hbasava at yahoo.com
Thu Mar 2 01:46:05 CET 2006


Hi,
I am compiling a file(strerror.c in binutils) 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 

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list