From owner-freebsd-current Wed Mar 10 8: 2:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from postal.metaip.checkpoint.com (metaip.checkpoint.com [204.29.28.25]) by hub.freebsd.org (Postfix) with ESMTP id 7849514C58 for ; Wed, 10 Mar 1999 08:02:57 -0800 (PST) (envelope-from marka@metaip.checkpoint.com) Received: from cartman.metainfo.com (cartman.metainfo.com [204.29.28.145]) by postal.metaip.checkpoint.com (8.8.7/8.8.7) with ESMTP id HAA02913; Wed, 10 Mar 1999 07:27:24 -0800 Received: from moby.dev.metainfo.com (sneakers.metainfo.com [204.29.28.213]) by cartman.metainfo.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id GT68WF2R; Wed, 10 Mar 1999 07:47:31 -0800 Date: Wed, 10 Mar 1999 08:02:00 -0800 (PST) From: Mark Atkinson X-Sender: marka@moby.dev.metainfo.com Reply-To: marka@metaip.checkpoint.com To: Archie Cobbs Cc: freebsd-current@freebsd.org Subject: Re: wchar.h? In-Reply-To: <199903100428.UAA38031@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 Mar 1999, Archie Cobbs wrote: > The jikes Java compiler relies on an include file "whcar.h" being > on the system. However, even if it's not, it includes routines > to do what it needs... only about 40 lines or so for these functions: I was bitten by this one recently too, and there are quite a few messages in the mailing-list archives on the subject. If I remember right (without looking right now) the reason it hasn't been included was some sort of issue of 16bit vs 32bit. The short answer is you need write your own functions and header file that you need, or use the Xwchar library that came in the original X11R5/contrib distributions (with slight modifications to the header file to use FreeBSD's wchar_t type and specific includes). It looks like jikes does the 'right thing' just because there's not that much consistancy across platforms. Just FYI HP, linux, and solaris all include a wchar.h, but different systems are missing different wcs* type functions. --- Mark Atkinson Checkpoint Technologies' Metaip Group marka@metaip.checkpoint.com !(wired)?(coffee++):(wired) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message