[glade--]stdio.h error during compilation

Mark Jones <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Message-ID <[email protected]>
Christof,

Do you know what might be the problem here:


g++ -DHAVE_CONFIG_H -I. -I. -I.. -ISourceWriter -Iwriters -I.    -g -O2
-c glade--.cc
In file included from /usr/include/g++-3/cstdio:6,
                 from glade--.cc:28:
/usr/include/stdio.h:239: type specifier omitted for parameter
/usr/include/stdio.h:239: parse error before `)'


Line 239 of stdio.h:


extern FILE *fopencookie (void *__restrict __magic_cookie,
			  __const char *__restrict __modes,
			  _IO_cookie_io_functions_t __io_funcs) __THROW;


If I just comment that line out in stdio.h, then it compiles and links
just fine.  I was seeing this before, but had not mentioned it yet.  I
had posted elsewhere wondering if I found a bug of some sort in
stdio.h.  It belongs to package glibc-devel-2.2.5-16mdk  I have updated
Mandrake since I installed it, tonight even, so if it is a bug, they
have not fixed it yet I don't think.

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.