Date: Thu, 17 May 2001 21:49:23 +0200 From: Cyrille Artho <cartho@silmaril.org> To: freebsd-java@freebsd.org Cc: ernst@jollem.com Subject: Jlint - better patch Message-ID: <3B042B43.1DB69B0F@silmaril.org>
next in thread | raw e-mail | index | archive | help
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 <stdarg.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B042B43.1DB69B0F>