It seems that gcc-3.0 now considers 'volatile' to be a critical part
of the declaration.  The following allows the compile to proceed:

I have also been beaten with a trout on IRC for using diff -c, so I've
switched it to diff -up for this one.  ;)

2001-12-02  Jeff Bailey  <[EMAIL PROTECTED]>

        * hurd/hurdinit.c: Add volatile to declaration to match hurd.h:82


Index: hurd/hurdinit.c
===================================================================
RCS file: /cvs/glibc/libc/hurd/hurdinit.c,v
retrieving revision 1.49
diff -u -p -r1.49 hurdinit.c
--- hurdinit.c  2001/07/06 04:54:47     1.49
+++ hurdinit.c  2001/12/02 16:38:49
@@ -29,7 +29,7 @@
 int _hurd_exec_flags;
 struct hurd_port *_hurd_ports;
 unsigned int _hurd_nports;
-mode_t _hurd_umask;
+volatile mode_t _hurd_umask;
 sigset_t _hurdsig_traced;
 
 char **__libc_argv;

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to