home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!caip.rutgers.edu!ghazi
- From: ghazi@caip.rutgers.edu (Kaveh R. Ghazi)
- Subject: textutils-1.3.6 regex.h line 399.
- Message-ID: <9301112030.AA17415@caip.rutgers.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 11 Jan 1993 20:30:46 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 35
-
- I was trying out textutils-1.3.6 from alpha.gnu.mit.edu and I had
- trouble compiling it on a sun4 and a TekXD88/10 using the bundled C compilers.
-
- The problem is a bad cpp directive on line 399 of regex.h. It is
- fixed by the following one line change:
-
-
- *** regex.h.BAK Fri Nov 20 20:51:33 1992
- --- regex.h Mon Jan 11 14:55:03 1993
- ***************
- *** 396,402 ****
- #define _RE_ARGS(args) args
- #else /* not __STDC__ */
- #define _RE_ARGS(args) ()
- ! #if !const && !HAVE_CONST
- #define const
- #endif
- #endif /* not __STDC__ */
- --- 396,402 ----
- #define _RE_ARGS(args) args
- #else /* not __STDC__ */
- #define _RE_ARGS(args) ()
- ! #if !defined(const) && !defined(HAVE_CONST)
- #define const
- #endif
- #endif /* not __STDC__ */
-
- This problem does not show up if you use gcc which is probably why
- it slipped by you.
-
- --Kaveh
- --
- Kaveh R. Ghazi CAIP Center, Rutgers University.
- ghazi@caip.rutgers.edu rutgers!caip.rutgers.edu!ghazi
-
-