From: Adam Dickmeiss Date: Thu, 10 Mar 2005 14:05:08 +0000 (+0000) Subject: Define USE_NON_CONST to avoid bad warnings for const for Tcl 8.4 X-Git-Tag: IRTCL.1.4.3~8 X-Git-Url: http://git.indexdata.com/?p=ir-tcl-moved-to-github.git;a=commitdiff_plain;h=c03d0643b368c72a85c24173a90afed3c2c9d2b1 Define USE_NON_CONST to avoid bad warnings for const for Tcl 8.4 or later. --- diff --git a/ir-tclp.h b/ir-tclp.h index 7187042..0c371d9 100644 --- a/ir-tclp.h +++ b/ir-tclp.h @@ -5,7 +5,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: ir-tclp.h,v $ - * Revision 1.40 2002-03-20 14:48:54 adam + * Revision 1.41 2005-03-10 14:05:08 adam + * Define USE_NON_CONST to avoid bad warnings for const for Tcl 8.4 + * or later. + * + * Revision 1.40 2002/03/20 14:48:54 adam * implemented USR.1 SearchResult-1 * * Revision 1.39 1999/11/30 14:05:58 adam @@ -156,6 +160,8 @@ #ifndef IR_TCLP_H #define IR_TCLP_H +/* to avoid Tcl8.4 or newer to use const */ +#define USE_NON_CONST #include #include