unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs doesn't compile -- what am I missing?
@ 2020-06-29 11:25 David Kastrup
  2020-06-29 11:39 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2020-06-29 11:25 UTC (permalink / raw)
  To: emacs-devel


I get

In file included from ../../emacs/src/xfaces.c:225:
../../emacs/src/xfaces.c:922:8: error: ‘Fcolor_values_from_color_spec’ undeclared here (not in a function); did you mean ‘Scolor_values_from_color_spec’?
  922 |        Fcolor_values_from_color_spec,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../emacs/src/lisp.h:3066:26: note: in definition of macro ‘DEFUN’
 3066 |        { .a ## maxargs = fnname },     \
      |                          ^~~~~~
../../emacs/src/xfaces.c:922:8: warning: no previous prototype for ‘Fcolor_values_from_color_spec’ [-Wmissing-prototypes]
  922 |        Fcolor_values_from_color_spec,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../emacs/src/lisp.h:3068:16: note: in definition of macro ‘DEFUN’
 3068 |    Lisp_Object fnname
      |                ^~~~~~

Which would suggest a problem with

commit 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Mon Jun 22 18:32:01 2020 +0300

    Minor improvements as followup to recent RGB string-parsing change
    
    * src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
    (Fcolor_values_from_color_spec): ...this.  Callers changed.
    Rename the argument to SPEC and improve the doc string.
    (parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
    Improve commentary.
    (parse_color_spec): Rename the argument S to SPEC.
    
    * etc/NEWS: Mention 'color-values-from-color-spec'.

But it seems extremely unlikely that a problem causing compilation to
fail would persist for a week.

Ideas?

-- 
David Kastrup




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

* Re: Emacs doesn't compile -- what am I missing?
  2020-06-29 11:25 Emacs doesn't compile -- what am I missing? David Kastrup
@ 2020-06-29 11:39 ` Eli Zaretskii
  2020-06-29 12:05   ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-06-29 11:39 UTC (permalink / raw)
  To: emacs-devel, David Kastrup

On June 29, 2020 2:25:03 PM GMT+03:00, David Kastrup <dak@gnu.org> wrote:
> 
> I get
> 
> In file included from ../../emacs/src/xfaces.c:225:
> ../../emacs/src/xfaces.c:922:8: error: ‘Fcolor_values_from_color_spec’
> undeclared here (not in a function); did you mean
> ‘Scolor_values_from_color_spec’?
>   922 |        Fcolor_values_from_color_spec,
>       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../emacs/src/lisp.h:3066:26: note: in definition of macro ‘DEFUN’
>  3066 |        { .a ## maxargs = fnname },     \
>       |                          ^~~~~~
> ../../emacs/src/xfaces.c:922:8: warning: no previous prototype for
> ‘Fcolor_values_from_color_spec’ [-Wmissing-prototypes]
>   922 |        Fcolor_values_from_color_spec,
>       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../emacs/src/lisp.h:3068:16: note: in definition of macro ‘DEFUN’
>  3068 |    Lisp_Object fnname
>       |                ^~~~~~
> 
> Which would suggest a problem with
> 
> commit 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1
> Author: Eli Zaretskii <eliz@gnu.org>
> Date:   Mon Jun 22 18:32:01 2020 +0300
> 
>     Minor improvements as followup to recent RGB string-parsing change
>     
>  * src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
>     (Fcolor_values_from_color_spec): ...this.  Callers changed.
>     Rename the argument to SPEC and improve the doc string.
>     (parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
>     Improve commentary.
>     (parse_color_spec): Rename the argument S to SPEC.
>     
>     * etc/NEWS: Mention 'color-values-from-color-spec'.
> 
> But it seems extremely unlikely that a problem causing compilation to
> fail would persist for a week.
> 
> Ideas?

Some snafu with globals.h?



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

* Re: Emacs doesn't compile -- what am I missing?
  2020-06-29 11:39 ` Eli Zaretskii
@ 2020-06-29 12:05   ` David Kastrup
  0 siblings, 0 replies; 3+ messages in thread
From: David Kastrup @ 2020-06-29 12:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> On June 29, 2020 2:25:03 PM GMT+03:00, David Kastrup <dak@gnu.org> wrote:
>> 
>> I get
>> 
>> In file included from ../../emacs/src/xfaces.c:225:
>> ../../emacs/src/xfaces.c:922:8: error: ‘Fcolor_values_from_color_spec’
>> undeclared here (not in a function); did you mean
>> ‘Scolor_values_from_color_spec’?
>>   922 |        Fcolor_values_from_color_spec,
>>       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ../../emacs/src/lisp.h:3066:26: note: in definition of macro ‘DEFUN’
>>  3066 |        { .a ## maxargs = fnname },     \
>>       |                          ^~~~~~
>> ../../emacs/src/xfaces.c:922:8: warning: no previous prototype for
>> ‘Fcolor_values_from_color_spec’ [-Wmissing-prototypes]
>>   922 |        Fcolor_values_from_color_spec,
>>       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ../../emacs/src/lisp.h:3068:16: note: in definition of macro ‘DEFUN’
>>  3068 |    Lisp_Object fnname
>>       |                ^~~~~~
>> 
>> Which would suggest a problem with
>> 
>> commit 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1
>> Author: Eli Zaretskii <eliz@gnu.org>
>> Date:   Mon Jun 22 18:32:01 2020 +0300
>> 
>>     Minor improvements as followup to recent RGB string-parsing change
>>     
>>  * src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
>>     (Fcolor_values_from_color_spec): ...this.  Callers changed.
>>     Rename the argument to SPEC and improve the doc string.
>>     (parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
>>     Improve commentary.
>>     (parse_color_spec): Rename the argument S to SPEC.
>>     
>>     * etc/NEWS: Mention 'color-values-from-color-spec'.
>> 
>> But it seems extremely unlikely that a problem causing compilation to
>> fail would persist for a week.
>> 
>> Ideas?
>
> Some snafu with globals.h?

Looks like a mixture of configuration for in-place compilation and
separate compilation directory.

make distclean

in the source directory finally got this cleaned up.

Sorry for the noise, and thanks for the feedback.

-- 
David Kastrup



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

end of thread, other threads:[~2020-06-29 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 11:25 Emacs doesn't compile -- what am I missing? David Kastrup
2020-06-29 11:39 ` Eli Zaretskii
2020-06-29 12:05   ` David Kastrup

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).