This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems Compiling gcc 2.95.2 on redhat 7.0
- To: "Jens Haase" <jens at haase dot to>
- Subject: Re: Problems Compiling gcc 2.95.2 on redhat 7.0
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 27 Oct 2000 00:29:45 -0200
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <OHEOJBJNIKKFEEPKEFONGEMFCBAA.jens@haase.to>
On Oct 26, 2000, "Jens Haase" <jens@haase.to> wrote:
> ../../../gcc-2.95.2/libio/iostream.cc:75: `_IO_USER_LOCK' undeclared (first
> usethis function)
> ../../../gcc-2.95.2/libio/iostream.cc:75: (Each undeclared identifier is
> reporte
> d only once
Try this:
Index: libio/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* libio.h (_IO_USER_LOCK): Define as in Red Hat 7's libio.h.
--- libio/libio.h~ Tue Oct 24 00:34:13 2000
+++ libio/libio.h Tue Oct 24 02:18:21 2000
@@ -136,6 +136,7 @@
#define _IO_IS_APPENDING 0x1000
#define _IO_IS_FILEBUF 0x2000
#define _IO_BAD_SEEN 0x4000
+#define _IO_USER_LOCK 0x8000
/* These are "formatting flags" matching the iostream fmtflags enum values. */
#define _IO_SKIPWS 01
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me