--- Begin Message ---
Subject: |
process.c glib issues |
Date: |
Tue, 18 Jun 2013 13:26:06 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Version: 24.3.50
Current trunk on RHEL6 GNU/Linux, --without-gconf --without-gsettings
--with-x-toolkit=athena, glib2-2.22.5-7:
process.c: In function 'wait_reading_process_output':
process.c:4538: warning: implicit declaration of function 'xg_select'
The following in process.c seems inconsistent:
#if defined (USE_GTK) || defined (HAVE_GCONF) || defined (HAVE_GSETTINGS)
#include "xgselect.h"
#endif
[...]
#elif defined (HAVE_GLIB)
nfds = xg_select
#else
I also see:
process.c: In function 'init_process_emacs':
process.c:7074: warning: implicit declaration of function 'g_source_unref'
process.c:7074: warning: implicit declaration of function
'g_child_watch_source_new'
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#14654: process.c glib issues |
Date: |
Tue, 18 Jun 2013 20:43:06 +0200 |
Hello.
18 jun 2013 kl. 19:26 skrev Glenn Morris <address@hidden>:
> Package: emacs
> Version: 24.3.50
>
> Current trunk on RHEL6 GNU/Linux, --without-gconf --without-gsettings
> --with-x-toolkit=athena, glib2-2.22.5-7:
>
> process.c: In function 'wait_reading_process_output':
> process.c:4538: warning: implicit declaration of function 'xg_select'
>
> The following in process.c seems inconsistent:
>
> #if defined (USE_GTK) || defined (HAVE_GCONF) || defined (HAVE_GSETTINGS)
> #include "xgselect.h"
> #endif
>
> [...]
>
> #elif defined (HAVE_GLIB)
> nfds = xg_select
> #else
>
I missed that, now fixed.
>
> I also see:
>
> process.c: In function 'init_process_emacs':
> process.c:7074: warning: implicit declaration of function 'g_source_unref'
> process.c:7074: warning: implicit declaration of function
> 'g_child_watch_source_new'
I fixed that also.
Jan D.
--- End Message ---