Bug 42390 - Patch to make Linux XDR header files (in /usr/include/rpc) work with gcc -ansi
Patch to make Linux XDR header files (in /usr/include/rpc) work with gcc -ansi
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Aaron Brown
http://www.math.ualberta.ca/~bowman/s...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-26 14:32 EDT by John Bowman
Modified: 2016-11-24 09:54 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-06-01 05:16:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to make Linux XDR header files (in /usr/include/rpc) work with gcc -ansi (20.77 KB, patch)
2001-05-26 14:33 EDT, John Bowman
no flags Details | Diff

  None (edit)
Description John Bowman 2001-05-26 14:32:27 EDT
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:
Comment 1 John Bowman 2001-05-26 14:33:42 EDT
Created attachment 19730 [details]
Patch to make Linux XDR header files (in /usr/include/rpc) work with gcc -ansi
Comment 2 Jakub Jelinek 2001-06-01 05:16:22 EDT
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.
Comment 3 Jakub Jelinek 2001-06-07 09:14:50 EDT
Fixed in glibc-2.2.3-11.

Note You need to log in before you can comment on or make changes to this bug.