diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-09 21:05:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-09 21:05:49 (GMT) |
commit | e66cb0c31e8286e752f0ce8d20b886af8b8d4507 (patch) | |
tree | 32fb2044df6d99ef12cb9cdfbfb5a0d39c9c5458 /generic/tclEvent.c | |
parent | 445aa5833b2b86fe2b861389c9cf1aa167fd95ea (diff) | |
download | tcl-e66cb0c31e8286e752f0ce8d20b886af8b8d4507.zip tcl-e66cb0c31e8286e752f0ce8d20b886af8b8d4507.tar.gz tcl-e66cb0c31e8286e752f0ce8d20b886af8b8d4507.tar.bz2 |
Convert Tcl_BacktroundError() into a macro, so we can deprecate the stub entry for it.
Add -Wpointer-arith warning to CFLAGS
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r-- | generic/tclEvent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 913ff0f..7ce5ddd 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -139,6 +139,8 @@ static void FinalizeThread(int quick); *---------------------------------------------------------------------- */ +#if !defined(TCL_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9 +#undef Tcl_BackgroundError void Tcl_BackgroundError( Tcl_Interp *interp) /* Interpreter in which an error has @@ -146,6 +148,7 @@ Tcl_BackgroundError( { Tcl_BackgroundException(interp, TCL_ERROR); } +#endif /* TCL_NO_DEPRECATED */ void Tcl_BackgroundException( |