unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Many warning building master
@ 2015-03-06 15:22 Angelo Graziosi
  2015-03-06 15:59 ` Artur Malabarba
  2015-03-06 17:47 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Angelo Graziosi @ 2015-03-06 15:22 UTC (permalink / raw)
  To: emacs-devel

I wonder if someone noticed the number of warnings building current master.

I always do clean build from emacs-master.tar.gz and my previous build 
log file (master-450beba, on Feb 24) has a size of 343860 bytes.  With 
current master (bfebebb) the size is 455854 bytes, about +30%.

For example I notice many warnings of the type:

   attempt to open-code `anonymous
     lambda' with too few arguments

   `show-entry' is an obsolete function (as of 25.1);
     use `outline-show-entry' instead.


    ...


I notice this on Cygwin (--with-w32) but I think it is general.


Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-06 15:22 Many warning building master Angelo Graziosi
@ 2015-03-06 15:59 ` Artur Malabarba
  2015-03-06 20:29   ` Angelo Graziosi
  2015-03-06 17:47 ` Stefan Monnier
  1 sibling, 1 reply; 7+ messages in thread
From: Artur Malabarba @ 2015-03-06 15:59 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]

Most warnings were introduced when the outline functions were given proper
prefixes. I think the vast majority of these come from org.

[-- Attachment #2: Type: text/html, Size: 153 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-06 15:22 Many warning building master Angelo Graziosi
  2015-03-06 15:59 ` Artur Malabarba
@ 2015-03-06 17:47 ` Stefan Monnier
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2015-03-06 17:47 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

>   attempt to open-code `anonymous
>     lambda' with too few arguments

These are new and need to be fixed.  The corresponding fix is probably
in bytecomp.el.


        Stefan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-06 15:59 ` Artur Malabarba
@ 2015-03-06 20:29   ` Angelo Graziosi
  2015-03-10  1:27     ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2015-03-06 20:29 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier wrote:
>>   attempt to open-code `anonymous
>>     lambda' with too few arguments
> These are new and need to be fixed.

Indeed. I have verified that in the build log I did on linux, master 
March 03, those warnings are absent.

Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-06 20:29   ` Angelo Graziosi
@ 2015-03-10  1:27     ` Stefan Monnier
  2015-03-10 15:38       ` Angelo Graziosi
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2015-03-10  1:27 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Indeed. I have verified that in the build log I did on linux, master March
> 03, those warnings are absent.

They should be absent again, now.


        Stefan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-10  1:27     ` Stefan Monnier
@ 2015-03-10 15:38       ` Angelo Graziosi
  2015-03-11  0:48         ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2015-03-10 15:38 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel



Il 10/03/2015 02:27, Stefan Monnier ha scritto:
>> Indeed. I have verified that in the build log I did on linux, master March
>> 03, those warnings are absent.
>
> They should be absent again, now.


Ok, but there are still a lot of warnings like this:

   :Warning: `x-get-selection' is an obsolete function (as of
     25.1); use `gui-get-selection' instead.


$ grep -c 'as of 25.1); use' emacs-build.log
382

(at least, they have not been introduced recently... seems..)


Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Many warning building master
  2015-03-10 15:38       ` Angelo Graziosi
@ 2015-03-11  0:48         ` Stefan Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2015-03-11  0:48 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Ok, but there are still a lot of warnings like this:
>   :Warning: `x-get-selection' is an obsolete function (as of
>     25.1); use `gui-get-selection' instead.

Yes, indeed.  These are real and point to code using an older API.
Since this change is new in Emacs-25.1, there can be very valid reasons
to keep using the old API for now (for code which is also distributed
outside of Emacs).  But it should be fixed for all code which is not
distributed outside of Emacs.


        Stefan



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-11  0:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06 15:22 Many warning building master Angelo Graziosi
2015-03-06 15:59 ` Artur Malabarba
2015-03-06 20:29   ` Angelo Graziosi
2015-03-10  1:27     ` Stefan Monnier
2015-03-10 15:38       ` Angelo Graziosi
2015-03-11  0:48         ` Stefan Monnier
2015-03-06 17:47 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).