all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: 16930@debbugs.gnu.org
Subject: bug#16930: [ac02f3a7] fails to build without HAVE_WINDOW_SYSTEM
Date: Mon, 03 Mar 2014 19:29:39 +0000	[thread overview]
Message-ID: <87fvmz13oc.fsf@violet.siamics.net> (raw)

Package:  emacs

	As of ac02f3a7, Emacs fails to build with the following error.

gcc -std=gnu99 -c  -Demacs  -I. -I../../src -I../lib -I../../src/../lib        -isystem /usr/include/libxml2           -MMD -MF deps/font.d -MP -isystem /usr/include/p11-kit-1   -pthread -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include   -W -Wabi -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdeprecated -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnonnull -Wnormalized=nfc -Wold-style-declaration -Wold-style-definition -Woverflow -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=format -Wtrampolines -Wtrigraphs -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-macros -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -fdiagnostics-show-option -funit-at-a-time -Wno-missing-field-initializers -Wno-sign-compare -Wno-type-limits -Wno-switch -Wno-unused-parameter -Wno-format-nonliteral -Wno-logical-op -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Werror -g3 -O2  ../../src/font.c
../../src/font.c: In function 'Fframe_font_cache':
../../src/font.c:4853:3: error: implicit declaration of function 'FRAME_DISPLAY_INFO' [-Werror=implicit-function-declaration]
   return FRAME_DISPLAY_INFO (decode_live_frame (frame))->name_list_element;
   ^
../../src/font.c:4853:56: error: invalid type argument of '->' (have 'int')
   return FRAME_DISPLAY_INFO (decode_live_frame (frame))->name_list_element;
                                                        ^
../../src/font.c:4854:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
make[1]: *** [font.o] Error 1

	As all the other invocations of FRAME_DISPLAY_INFO () seem to be
	guarded with #ifdef HAVE_WINDOW_SYSTEM, I’d rather assume that
	the whole DEFUN ("frame-font-cache", …) should also be within
	such guards, along with the reference to Sframe_font_cache
	within syms_of_font ().

-- 
FSF associate member #7257





             reply	other threads:[~2014-03-03 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 19:29 Ivan Shmakov [this message]
2014-03-03 19:40 ` bug#16930: [ac02f3a7] fails to build without HAVE_WINDOW_SYSTEM Glenn Morris
2014-03-03 20:02 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvmz13oc.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=16930@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.