home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard
- From: pinard@icule.UUCP (Francois Pinard)
- Subject: GNU regexp 0.11 const problem (configuring)
- Message-ID: <9212192255.AA14447@icule.UUCP>
- Sender: gnulists@ai.mit.edu
- Reply-To: pinard@iro.umontreal.ca
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Sat, 19 Dec 1992 22:55:09 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 20
-
- GNU regexp 0.11 contains:
-
- #if __STDC__
- #define _RE_ARGS(args) args
- #else /* not __STDC__ */
- #define _RE_ARGS(args) ()
- -> #if !const && !HAVE_CONST
- #define const
- #endif
- #endif /* not __STDC__ */
-
- Presuming Autoconf's AC_CONST defined `const' to be empty, and without
- __STDC__, the preprocessor sees a syntax error at the arrow. Maybe
- regexp.h should simply leave const alone, and let Autoconf handle it.
-
- --
- Franc,ois Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca
- (514) 588-4656 ...!uunet!iros1!pinard
- About the League for Programming Freedom? Email me or lpf@uunet.uu.net
-
-