From cc31822e4ebe54c0109623ac0c5cdf0e3acad755 Mon Sep 17 00:00:00 2001 From: Markus Koschany Date: Tue, 13 Mar 2018 21:42:31 +0100 Subject: [PATCH 1/1] remove matherr Work around "tclxmerr.c:40:30: error: dereferencing pointer to incomplete type 'struct exception'" --- src/tclx/src/tclxmerr.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/tclx/src/tclxmerr.c b/src/tclx/src/tclxmerr.c index dc3596b..06aad3a 100644 --- a/src/tclx/src/tclxmerr.c +++ b/src/tclx/src/tclxmerr.c @@ -33,15 +33,6 @@ * *----------------------------------------------------------------------------- */ -int -matherr (except) - struct exception *except; -{ - if (Tcl_MathError (except->name, except->type)) - return 1; - else - return 0; -} #else -- 2.39.5