From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: calc.el Date: Sun, 16 Jun 2019 17:31:35 +0200 Message-ID: References: <831rzvvsgp.fsf@gnu.org> <83y322vqvg.fsf@gnu.org> <83v9x6vpap.fsf@gnu.org> <52332265-2d02-a01c-e221-20b00b1edf86@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="10077"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 16 17:35:19 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcXBe-0002SG-Cw for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2019 17:35:18 +0200 Original-Received: from localhost ([::1]:40878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcXBc-0005Oy-NZ for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2019 11:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51437) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcX8h-0005Jj-3L for emacs-devel@gnu.org; Sun, 16 Jun 2019 11:32:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcX8f-0003d5-5m for emacs-devel@gnu.org; Sun, 16 Jun 2019 11:32:14 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:51180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcX8b-0002fA-R6 for emacs-devel@gnu.org; Sun, 16 Jun 2019 11:32:10 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcX83-0003su-Hl for emacs-devel@gnu.org; Sun, 16 Jun 2019 17:31:37 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEV3AAV3AAh0AAVrAALQ Hg/88gB4AAfssgHmBgbyAAFsAAHUUAb//wCEAAZzAAloAAEl+4QJAAABp0lEQVQ4jW2UPU/CQBjH WfwaDo2rDrKJcXdw7NBQ+Ahu5EIofgtTL8wu6uKgSNqwXRrDsemkMohzBwgxkTT1nudeem35D831 fnd93ts4p7vVuMil1uvmyZ3jOEcO6PvAgDwbE0Kem8uzNE2X6Y8B9wEHDZYpyoCtz6XaZZAFXGtY Ak9mn7OFBbbcUtsCMZycCO/hJpsagBdmENYIVh0D9uDVo4T0KaySfQ3QJU+cTghauVJAmhYgiiJc zhXYaCCM4DJRINaADCTgCwlk1B4dK+NgBMBKvhTuct5FoMJmL5TeqNTMEfzymmYINnWQIHioA7YP 4LMO+CWAeAdYFMB1ffO0ARQjxpIEJZBAdCHGeF0BPbcfQkkmoQHgFSMuALHpIUB3T2VMouAGMCty AYobiclVIkr3OoLq9kOTqy2eF50w8mgU0dBk98+vudstKjgQjRAweELoUwlqWWSq5rVK6S7JqqBT 6kRLUw1uK18yvZv5JVB0uz1QaqT0RPmVC2YG3y0L9gzmq8Kxx/KctzQZVn4AeauHhtV+AdbN4w9C okVagMOvXXr7B+0/a3Np0lS6AAAAAElFTkSuQmCC In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 16 Jun 2019 16:45:20 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237731 Archived-At: This one is really weird: calc/calc.el:3928:1:Warning: the following functions are not known to be defined: math-zerop, math-compare I'm only getting this on one machine, but not the other. And calc has this: (declare-function math-compare "calc-ext" (a b)) (declare-function math-zerop "calc-misc" (a)) Hm... One machine compiles a lot faster than the other (and I'm compiling with -j8), so perhaps there's some ordering issue here? There are no calls to math-zerop at all directly in calc.el, but instead there's the Math-zerop calls: (and (Math-zerop a) (not (eq (car-safe a) 'mod)) (if (and (math-floatp a) (Math-ratp b)) (math-float b) b)) Which are defined in calc-macs, and look like: ;;; Faster in-line version zerop, normalized values only. (defsubst Math-zerop (a) ; [P N] (if (consp a) (and (not (memq (car a) '(bigpos bigneg))) (if (eq (car a) 'float) (eq (nth 1 a) 0) (math-zerop a))) (eq a 0))) Uhm... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no