[gnu.g++.bug] patch to add SEEK_SET to xm-i386.h for sequent symmetry

rich@RICE.EDU (Rich Murphey) (12/12/89)

The system include file /usr/include/unistd.h on the sequent symmetry
fails to define SEEK_END and SEEK_SET.  Adding them to xm-i386.h fixes
the following complaints from gcc.

Hardware: Sequent Symmetry S27 running Dynix 3.0.12


gcc -c -g -DGATHER_STATISTICS -O  -I. -I./config  toplev.c
toplev.c: In function undump_data:
toplev.c:1856: `SEEK_END' undeclared (first use this function)
toplev.c:1856: (Each undeclared identifier is reported only once
toplev.c:1856: for each function it appears in.)
toplev.c:1857: `SEEK_SET' undeclared (first use this function)



*** xm-i386.h~	Tue Dec 12 03:45:32 1989
--- xm-i386.h	Tue Dec 12 03:46:17 1989
***************
*** 36,38
     tm.h is a symbolic link to the actual target specific file.   */
  
  #include "tm.h"

--- 36,41 -----
     tm.h is a symbolic link to the actual target specific file.   */
  
  #include "tm.h"
+ 
+ #define	SEEK_SET 0
+ #define	SEEK_END 2


One more question before I go... Is libg++-1.36.1 the proper version
to install with g++.ztar.Z on interviews.stanford.edu (36.22.0.175)?
String.cc wouldn't with these versions:

/u1/rich/spub/g/bin/g++ -B/u1/rich/spub/g/lib/gcc- -I/u1/rich/spub/libg++/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall -pipe -c  String.cc
/u1/rich/spub/libg++/g++-include/String.h: In method StrTmp::StrTmp (struct StrRep *):
In file included from String.cc:27:
/u1/rich/spub/libg++/g++-include/String.h:413: member `rep' comes from base class needing constructor


Thank you,
Rich@rice.edu