Article View: gnu.g++.bug
Article #706patch to add SEEK_SET to xm-i386.h for sequent symmetry
From: Rich Murphey
Date: Tue, 12 Dec 1989 10:02
Date: Tue, 12 Dec 1989 10:02
46 lines
2011 bytes
2011 bytes
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
Technical Details
Message-ID:
<8912121002.AA11290@kalliope.rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!RICE.EDU!richShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!RICE.EDU!rich From: rich@RICE.EDU (Rich Murphey) Newsgroups: gnu.g++.bug Subject: patch to add SEEK_SET to xm-i386.h for sequent symmetry Message-ID: <8912121002.AA11290@kalliope.rice.edu> Date: 12 Dec 89 10:02:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 46