all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cvs image.c error?
@ 2004-07-12 11:04 Marcelo Toledo
  0 siblings, 0 replies; only message in thread
From: Marcelo Toledo @ 2004-07-12 11:04 UTC (permalink / raw)


I don't know if this information proceed, but please check:

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H   -I. -I/home/marcelo/projetos/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 image.c
image.c: In function `Finit_image_library':
image.c:7956: error: `TRUE' undeclared (first use in this function)
image.c:7956: error: (Each undeclared identifier is reported only once
image.c:7956: error: for each function it appears in.)
image.c: In function `init_image':
image.c:8118: error: `TRUE' undeclared (first use in this function)
make[1]: *** [image.o] Error 1
make[1]: Leaving directory `/home/marcelo/projetos/emacs/src'
make: *** [src] Error 2

I think the ChangeLog entry that modify this, is:

2004-06-14  Juanma Barranquero  <lektu@terra.es>

	* dispextern.h (Vimage_types): Make it conditional on
	HAVE_WINDOW_SYSTEM.

	* image.c (Vimage_types): Move from xdisp.c.
	(Vimage_type_cache): New variable.
	(define_image_type): New argument indicating whether an image
	library was loaded; cache loaded status and return t on success,
	nil otherwise.
	(CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros.
	(w32_delayed_load): New function to load an image library from a
	list of possible filenames.
	(init_xpm_functions, init_png_functions, init_jpeg_functions)
	(init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
	(CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument.
	(Finit_image_library): New function, extracted from `init_image'.
	Try to initialize an image library on demand and cache whether we
	were successful or not.
	(syms_of_image): Initialize `Vimage_types' and
	`Vimage_type_cache'.  Add recognized image types to Vimage_types.
	Export `init-image-library'.
	(init_image): Remove initialization of all image types, except xbm
	and pbm.

where image.c gets TRUE from?
-- 
Marcelo Toledo
marcelo@marcelotoledo.org
http://www.marcelotoledo.org
Mobile: 55 71 9141-7181

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-12 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-12 11:04 cvs image.c error? Marcelo Toledo

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.