🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1238

GNU regexp 0.11 const problem (configuring)

#1238
From: Francois Pinard
Date: Sat, 19 Dec 1992 22:55
19 lines
1084 bytes
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
Technical Details
Message-ID: <9212192255.AA14447@icule.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!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