From owner-freebsd-java Thu May 17 12:44:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from blue.uplink.ethz.ch (rou-woko-nat.ethz.ch [129.132.107.21]) by hub.freebsd.org (Postfix) with ESMTP id 3225F37B423 for ; Thu, 17 May 2001 12:44:38 -0700 (PDT) (envelope-from cartho@silmaril.org) Received: from silmaril.org ([172.17.0.73]) by blue.uplink.ethz.ch (8.9.3/8.9.3) with ESMTP id VAA04706; Thu, 17 May 2001 21:45:02 +0200 Message-ID: <3B042B43.1DB69B0F@silmaril.org> Date: Thu, 17 May 2001 21:49:23 +0200 From: Cyrille Artho X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Cc: ernst@jollem.com Subject: Jlint - better patch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To all potential Jlint users, It turned out that the actual problem was a conflicting #ifdef for cygwin. So please use the patch below, on the original source from http://artho.com/jlint/jlint.tar.gz for now. People who are interested to test Jlint on *BSD variants other than FreeBSD 4.3, please contact me. I will not post future messages on this list. Once version 2.1 is out, I will announce it on http://freshmeat.net/. --- functions.hh 2001/03/16 22:11:49 1.3 +++ functions.hh 2001/05/17 19:36:43 @@ -5,13 +5,19 @@ #include "stdio.h" #include "types.hh" +#include class utf_string; -// cygwin fix: #ifndef __VALIST #ifdef va_list +#define __VALIST va_list +#endif +// FreeBSD uses typedef in stdarg.h +#ifdef __FreeBSD__ #define __VALIST va_list -#else +#endif +// cygwin fix: +#ifndef __VALIST #define __VALIST void* #endif #endif -- Regards, Cyrille Artho - http://artho.com/ - Tel. +41 - [0]1 - 313 08 92 As far as we know, our computer has never had an undetected error. -- Weisert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message