This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Help needed with parse error


I'm trying to compile go (the word processor for gnome)

during the make I get the error

"In file included from file.c:27:
  /usr/include/stdio.h:216: parse error before
`_IO_cookie_io_functions_t' "

The offending line of code in stdio.h is:

extern FILE *fopencookie __P((void *_restrict __magic_cookie,
                                                      __const char
*__restrict __modes,

_IO_cookie_iofunctions_t __io_funcs));

I can't see whats wrong with this.  Is this a compiler problem?

I'm running egcs-1.1.2-12c on a linuxppc system with glibc-2.1.2-1a

Can anybody help?

TIA

Simon



--

______________________________________________________________________________
Dr Simon Martin
Mail  : Department of Physics and Astronomy
      : University of Sheffield
      : Sheffield, S3 7RH
Phone : +44 (0)114 222 4285
Fax   : +44 (0)114 272 8079
Email : s.martin@sheffield.ac.uk
______________________________________________________________________________




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]