home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / utils / bug / 2369 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.3 KB  |  48 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!caip.rutgers.edu!ghazi
  3. From: ghazi@caip.rutgers.edu (Kaveh R. Ghazi)
  4. Subject: textutils-1.3.6 regex.h line 399.
  5. Message-ID: <9301112030.AA17415@caip.rutgers.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 11 Jan 1993 20:30:46 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 35
  12.  
  13.     I was trying out textutils-1.3.6 from alpha.gnu.mit.edu and I had
  14. trouble compiling it on a sun4 and a TekXD88/10 using the bundled C compilers.
  15.  
  16.     The problem is a bad cpp directive on line 399 of regex.h.  It is
  17. fixed by the following one line change:
  18.  
  19.  
  20. *** regex.h.BAK Fri Nov 20 20:51:33 1992
  21. --- regex.h     Mon Jan 11 14:55:03 1993
  22. ***************
  23. *** 396,402 ****
  24.   #define _RE_ARGS(args) args
  25.   #else /* not __STDC__ */
  26.   #define _RE_ARGS(args) ()
  27. ! #if !const && !HAVE_CONST
  28.   #define const
  29.   #endif
  30.   #endif /* not __STDC__ */
  31. --- 396,402 ----
  32.   #define _RE_ARGS(args) args
  33.   #else /* not __STDC__ */
  34.   #define _RE_ARGS(args) ()
  35. ! #if !defined(const) && !defined(HAVE_CONST)
  36.   #define const
  37.   #endif
  38.   #endif /* not __STDC__ */
  39.  
  40.     This problem does not show up if you use gcc which is probably why
  41. it slipped by you.
  42.  
  43.         --Kaveh
  44. --
  45. Kaveh R. Ghazi            CAIP Center, Rutgers University.
  46. ghazi@caip.rutgers.edu        rutgers!caip.rutgers.edu!ghazi
  47.  
  48.