GNU logs - #20457, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20457: compiler does not warn about arglist mismatch with obsolete alias
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Apr 2015 07:09:01 +0000
Resent-Message-ID: <handler.20457.B.143029129830598 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 20457
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 20457 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.143029129830598
          (code B ref -1); Wed, 29 Apr 2015 07:09:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Apr 2015 07:08:18 +0000
Received: from localhost ([127.0.0.1]:55483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YnM6U-0007xS-9W
	for submit <at> debbugs.gnu.org; Wed, 29 Apr 2015 03:08:18 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:35277 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1YnM6S-0007xK-Df
 for submit <at> debbugs.gnu.org; Wed, 29 Apr 2015 03:08:16 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1YnM6R-0002Z4-Co; Wed, 29 Apr 2015 03:08:15 -0400
From: Glenn Morris <rgm@HIDDEN>
X-Spook: bootleg NWO arrangements SP4 fissionable AK-47 Echelon RSA
X-Ran: 7[XUc)>HCGmrj+pR#zb(m{6}4K)9b^.]Aj*J#%jpH~YE\p6y(YX)Kr04~+LtSr5?SM|fc^
X-Hue: magenta
X-Attribution: GM
Date: Wed, 29 Apr 2015 03:08:15 -0400
Message-ID: <i48udbxvhc.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Package: emacs
Version: 24.5

Byte-compiling the following:
    
    (defun newfunc ()
      t)
    
    (eval-and-compile
      (define-obsolete-function-alias 'oldfunc 'newfunc "25.1"))
    
    (defun blah ()
      (oldfunc t))

warns about oldfunc being obsolete:
  
  In blah:
  foo.el:6:8:Warning: `oldfunc' is an obsolete function (as of 25.1); use
      `newfunc' instead.

however, it says nothing about blah calling oldfunc with the wrong
number of arguments, which leads to a runtime error.





Last modified: Wed, 29 Apr 2015 07:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.