From owner-freebsd-questions Fri Nov 17 21:46:15 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA25250 for questions-outgoing; Fri, 17 Nov 1995 21:46:15 -0800 Received: from bacchus.eng.umd.edu (bacchus.eng.umd.edu [129.2.94.5]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA25241 for ; Fri, 17 Nov 1995 21:46:12 -0800 Received: from cappuccino.eng.umd.edu (cappuccino.eng.umd.edu [129.2.98.14]) by bacchus.eng.umd.edu (8.7/8.7) with ESMTP id AAA08159 for ; Sat, 18 Nov 1995 00:46:06 -0500 (EST) Received: (chuckr@localhost) by cappuccino.eng.umd.edu (8.7.1/8.6.4) id AAA19356; Sat, 18 Nov 1995 00:46:06 -0500 (EST) Date: Sat, 18 Nov 1995 00:46:05 -0500 (EST) From: Chuck Robey X-Sender: chuckr@cappuccino.eng.umd.edu To: FreeBSD Questions Subject: pure2 in stdlib Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk I was trying to compile the db.1.85 that someone pointed me to at ftp.cs.berkeley.edu (newer version of our ndbm routines, with good docs) and I got errors involing parsing stdlib.h, like this: /usr/include/stdlib.h:80: parse error before `__dead2' /usr/include/stdlib.h:80: warning: data definition has no type or storage class /usr/include/stdlib.h:82: parse error before `__pure2' /usr/include/stdlib.h:82: warning: data definition has no type or storage class There was a lot more, but just repetitions of complaints about __pure2 and __dead2. I took a look at stdlib.h, and it has these things, sure enough, but they don't look like any C code I've ever seen. Does anyone recognize what these things are? In stdlib, they look like: __BEGIN_DECLS __dead void abort __P((void)) __dead2; __pure int abs __P((int)) __pure2; but I don't see either define'd anywhere, nor in other header files. ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: