[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58688: [Trunk] menu.c:1401:3: error: implicit declaration of functio
From: |
Jacob Faibussowitsch |
Subject: |
bug#58688: [Trunk] menu.c:1401:3: error: implicit declaration of function 'cancel_hourglass' is invalid in C99 |
Date: |
Fri, 21 Oct 2022 11:55:49 -0400 |
No dice I’m afraid. It appears cancel_hourglass() is gated behind
HAVE_WINDOW_SYSTEM:
// src/dispextern.h
...
#ifdef HAVE_WINDOW_SYSTEM
extern void start_hourglass (void);
extern void cancel_hourglass (void);
Which I do not appear to have:
// src/config.h
...
/* Define if you have a window system. */
/* #undef HAVE_WINDOW_SYSTEM */
This is after doing:
$ rm -f ./config.cache
$ ./config.status --recheck
$ make
Best regards,
Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)
> On Oct 21, 2022, at 11:29, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
>> Date: Fri, 21 Oct 2022 10:23:56 -0400
>>
>> menu.c:1401:3: error: implicit declaration of function 'cancel_hourglass' is
>> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>> cancel_hourglass ();
>> ^
>
> Thanks, should be fixed now.