Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.lang.c Subject: Re: Incrementing of preprocessor symbols Message-ID: <16911@sun.uucp> Date: Fri, 17-Apr-87 12:39:33 EST Article-I.D.: sun.16911 Posted: Fri Apr 17 12:39:33 1987 Date-Received: Sun, 19-Apr-87 12:15:19 EST References: <3424@vrdxhq.UUCP> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 9 >Everything is quite easy to do with a #define, except the handling of . We >would like the to increment with each expansion encountered in the source, >i.e. with each "assert" in the text. The helps distinguish the different >assertions on VMS, where C does not expand __FILE__ and __LINE__ as it does >on Sun, Sequent, VAX UNIX, and VAX Ultrix. Tell DEC to get with the program and implement __FILE__ and __LINE__ under VMS before they are forced to by requirements for ANSI C conformance.