From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.19 i586) Description of problem: Patch to fix undefined type definitions in XDR header files in /usr/include/rpc when compiling with the -ansi option. Example: compile http://www.math.ualberta.ca/~bowman/xstream.cc with g++ -ansi. You will need the header file http://www.math.ualberta.ca/~bowman/xstream.html How reproducible: Always Steps to Reproduce: 1. g++ -ansi xstream.cc 2. 3. Actual Results: Syntax errors Additional info:
Created attachment 19730 [details] Patch to make Linux XDR header files (in /usr/include/rpc) work with gcc -ansi
See http://sources.redhat.com/ml/libc-hacker/2001-05/msg00086.html, Ulrich Drepper actually applied the second (shorter) version of the patch. It will appear in the next glibc build.
Fixed in glibc-2.2.3-11.