Previously reported error in glyphs-msw.c turns out to be caused by
CPLUSPLUS_COMPILE=1
which is turned on by
ERROR_CHECK_ALL=1
which in turned is set for
!if "$(emacs_is_beta)" != ""
Was a bit tricky to find because it lay outside of my spec of least
astonishment.
I was chasing thru configuration and include files for the longest
time until I found this by comparing my compilation outputs for 21.4
and 21.5.
Now I bumped into this:
Loading c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\lisp\mule\auto-autoloads... # bind
(stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error)
signal(error ("Already loaded"))
Later,
Adrian
XEmacs Build Report generated by emacs-version
21.4 (patch 12) "Portable Code" XEmacs Lucid
with system-configuration
i586-pc-win32
follows:
Contents of
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\Installation:
(Output from most recent run of ./configure)
OS version:
Microsoft Windows 2000 [Version 5.00.2195]
OS: Windows_NT
XEmacs 21.5-b10 "burdock" (+CVS-20030208) configured for `i586-pc-win32'.
Building XEmacs using "NMAKE".
Building XEmacs using make flags " ".
Building XEmacs in "c:\\Hacking\\cvs.xemacs.org\\XEmacs\\xemacs-21.5\\nt".
Using compiler "cl -nologo -W3 -DSTRICT -ZI -Od -MDd".
Installing XEmacs in "c:\\Program Files\\XEmacs\\XEmacs-21.5-b10".
Package path is "~\\.xemacs;;c:\\Program Files\\XEmacs\\site-packages;c:\\Program
Files\\XEmacs\\mule-packages;c:\\Program Files\\XEmacs\\xemacs-packages".
Compiling in support for Microsoft Windows native GUI.
Compiling in international (MULE) support.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Compiling in support for GZIP compression/decompression.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library.
Compiling in extra internal error-checking.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Compiling in debugging support (no slowdown).
Contents of
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\xemacs-21.5-cvs-update.err
keeping lines matching
"^--\[\[\|\]\]$\|^\(cd\|n?make\)\s-\|errors?\|warnings?\|pure.*\(space\|size\)\|hides\b\|strange\|shadowings\|^Compil\(ing\s-+in\|ation\)\|^Using\|not\s-+found\|^While\s-+compiling.*\(
\s-+.+\)*\|^Note:\|Installing\|[Ff]ile(s) copied\|\s-+tests\s-+\|^[A-Z] [^
]+$\|^Wrong number of arguments:\|^ \*\* "
and then deleting lines matching
"confl.*with.*auto-inlining\|^Formatting:"
cd c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\
Compilation started at Sun Feb 09 18:09:09 2003 +0100 (W. Europe Standard Time)
? nt/xemacs-21.5-make-distclean-error.err
P version.sh
M etc/package-index.LATEST.gpg
M info/dir
rcsmerge: warning: conflicts during merge
C lisp/ChangeLog
C lisp/package-get.el
P lisp/window.el
P lwlib/ChangeLog
P lwlib/lwlib-Xm.c
M man/Makefile
M man/xemacs/xemacs.texi
M nt/xemacs.mak
P src/ChangeLog
P src/console-stream.c
P src/event-msw.c
P src/event-stream.c
P src/menubar-msw.c
P src/menubar-x.c
P src/menubar.c
P src/menubar.h
P src/redisplay-output.c
P src/redisplay.c
P src/window.c
P src/winslots.h
P src/s/darwin.h
cvs server: Updating tests
cvs server: Updating tests/DLL
Compilation exited abnormally with code 1 at Sun Feb 09 18:11:45
Contents of
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\xemacs-21.5-make-all.err
keeping lines matching
"^--\[\[\|\]\]$\|^\(cd\|n?make\)\s-\|errors?\|warnings?\|pure.*\(space\|size\)\|hides\b\|strange\|shadowings\|^Compil\(ing\s-+in\|ation\)\|^Using\|not\s-+found\|^While\s-+compiling.*\(
\s-+.+\)*\|^Note:\|Installing\|[Ff]ile(s) copied\|\s-+tests\s-+\|^[A-Z] [^
]+$\|^Wrong number of arguments:\|^ \*\* "
and then deleting lines matching
"confl.*with.*auto-inlining\|^Formatting:"
cd c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\
nmake /f xemacs.mak all
Compilation started at Sun Feb 09 18:20:55 2003 +0100 (W. Europe Standard Time)
WARNING: Compiling without dependency information.
Installing XEmacs in "c:\\Program Files\\XEmacs\\XEmacs-21.5-b10".
Compiling in extra internal error-checking.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
1 file(s) copied.
1 File(s) copied
1 File(s) copied
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/make-dump-id.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/etags.ilk"; linking
nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/hexl.ilk"; linking
nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/i.ilk"; linking
nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/winclient.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/make-docfile.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/mmencode.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/movemail.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/sorted-doc.ilk";
linking nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/wakeup.ilk"; linking
nonincrementally
LINK: warning LNK4076: invalid incremental status file
"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src/minitar.ilk";
linking nonincrementally
Using load-path (c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\lisp)
Using module-load-path (c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\modules)
Loading c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\lisp\mule\auto-autoloads... # bind
(stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error)
signal(error ("Already loaded"))
(cond ((stringp datum) (signal (quote error) (list (apply (quote format) datum args))))
((defined-error-p datum) (signal datum args)) (t (error (quote invalid-argument)
"datum not string or error symbol" datum)))
cerror("Already loaded")
apply(cerror "Already loaded" nil)
(while t (apply (quote cerror) datum args))
error("Already loaded")
byte-code("..." [featurep src-autoloads error "Already loaded"] 2)
(if (and (> (length filename) 0) (setq path (locate-file filename load-path (and (not
nosuffix) (quote (".elc" ".el" "")))))) (load-internal file
noerror nomessage nosuffix (let ((elc (equalp ".elc" (substring path -4)))) (or
(and (not elc) coding-system-for-read) (let ((codesys
(find-coding-system-magic-cookie-in-file path))) (when codesys (setq codesys (intern
codesys)) (if (find-coding-system codesys) codesys))) (if elc (quote binary) (or
(find-file-coding-system-for-read-from-filename path)
buffer-file-coding-system-for-read))))) (if (and (> (length filename) 0) (locate-file
filename module-load-path (and (not nosuffix) (quote (".ell" ".dll"
".so" ""))))) (if (featurep (quote modules)) (let
((load-modules-quietly nomessage)) (declare-fboundp (load-module filename))) (signal
(quote file-error) (quote ("This XEmacs does not support modules")))) (and (null
noerror) (signal (quote file-error) (list "Cannot open load file" filename)))))
(if handler (funcall handler (quote load) filename noerror nomessage nosuffix) (if (and
(> (length filename) 0) (setq path (locate-file filename load-path (and (not nosuffix)
(quote (".elc" ".el" "")))))) (load-internal file noerror
nomessage nosuffix (let ((elc (equalp ".elc" (substring path -4)))) (or (and
(not elc) coding-system-for-read) (let ((codesys (find-coding-system-magic-cookie-in-file
path))) (when codesys (setq codesys (intern codesys)) (if (find-coding-system codesys)
codesys))) (if elc (quote binary) (or (find-file-coding-system-for-read-from-filename
path) buffer-file-coding-system-for-read))))) (if (and (> (length filename) 0)
(locate-file filename module-load-path (and (not nosuffix) (quote (".ell"
".dll" ".so" ""))))) (if (featurep (quote modules)) (let
((load-modules-quietly nomessage)) (declare-fboundp (load-module filename))) (signal
(quote file-error) (quote ("This XEmacs does not support modules")))) (and (null
noerror) (signal (quote file-error) (list "Cannot open load file"
filename))))))
(let* ((filename (substitute-in-file-name file)) (handler (find-file-name-handler
filename (quote load))) (path nil)) (if handler (funcall handler (quote load) filename
noerror nomessage nosuffix) (if (and (> (length filename) 0) (setq path (locate-file
filename load-path (and (not nosuffix) (quote (".elc" ".el"
"")))))) (load-internal file noerror nomessage nosuffix (let ((elc (equalp
".elc" (substring path -4)))) (or (and (not elc) coding-system-for-read) (let
((codesys (find-coding-system-magic-cookie-in-file path))) (when codesys (setq codesys
(intern codesys)) (if (find-coding-system codesys) codesys))) (if elc (quote binary) (or
(find-file-coding-system-for-read-from-filename path)
buffer-file-coding-system-for-read))))) (if (and (> (length filename) 0) (locate-file
filename module-load-path (and (not nosuffix) (quote (".ell" ".dll"
".so" ""))))) (if (featurep (quote modules)) (let
((load-modules-quietly nomessage)) (declare-fboundp (load-module filename))) (signal
(quote file-error) (quote ("This XEmacs does not support modules")))) (and (null
noerror) (signal (quote file-error) (list "Cannot open load file"
filename)))))))
# bind (nosuffix nomessage noerror file)
(cond ((null command-line-args-left) (unless noninteractive (run-hooks (quote
term-setup-hook)) (setq term-setup-hook nil) (when (string= (buffer-name)
"*scratch*") (unless (or inhibit-startup-message (input-pending-p)) (let (tmout
circ-tmout) (unwind-protect (catch (quote tmout) (setq tmout (add-timeout
startup-message-timeout (lambda (ignore) (condition-case nil (throw (quote tmout) t)
(error nil))) nil)) (setq circ-tmout (display-splash-frame)) (or nil (goto-char
(point-min))) (sit-for 0) (setq unread-command-event (next-command-event))) (when tmout
(disable-timeout tmout)) (when circ-tmout (disable-timeout circ-tmout)))))
(with-current-buffer (get-buffer "*scratch*") (erase-buffer) (when (stringp
initial-scratch-message) (insert initial-scratch-message)) (set-buffer-modified-p nil)))))
(t (let ((dir command-line-default-directory) (file-count 0) (line nil) (end-of-options
nil) file-p arg tem) (while command-line-args-left (setq arg (pop command-line-args-left))
(cond (end-of-options (setq file-p t)) ((setq tem (when (eq (aref arg 0) ?-) (or (assoc
arg command-switch-alist) (assoc (substring arg 1) command-switch-alist)))) (funcall (cdr
tem) arg)) ((string-match "\\`\\+[0-9]+\\'" arg) (setq line (string-to-int
arg))) ((or (string= arg "-") (string= arg "--")) (setq end-of-options
t)) (t (setq file-p t))) (when file-p (setq file-p nil) (incf file-count) (setq arg
(expand-file-name arg dir)) (cond ((= file-count 1) (find-file arg)) (noninteractive
(find-file arg)) (t (find-file-other-window arg))) (when line (goto-line line) (setq line
nil)))))))
(let ((command-line-args-left (cdr command-line-args))) (let ((debugger (quote
early-error-handler)) (debug-on-error t)) (setq command-line-args-left (command-line-early
command-line-args-left)) (when (eq system-type (quote windows-nt)) (declare-fboundp
(init-mswindows-at-startup))) (when (featurep (quote toolbar)) (init-toolbar-location))
(if (featurep (quote toolbar)) (if (featurep (quote infodock)) (require (quote
id-x-toolbar)) (init-toolbar))) (when (and initial-window-system (not noninteractive))
(funcall (intern (concat "init-" (symbol-name initial-window-system)
"-win")))) (frame-initialize)) (startup-initialize-custom-faces) (if (featurep
(quote menubar)) (init-menubar-at-startup)) (if (featurep (quote mule)) (declare-fboundp
(init-mule-at-startup))) (load-init-file) (with-current-buffer (get-buffer
"*scratch*") (erase-buffer) (set-buffer-modified-p nil) (when (eq major-mode
(quote fundamental-mode)) (funcall initial-major-mode))) (when (and (eq (quote tty)
(console-type)) (not (noninteractive))) (load-terminal-library)) (command-line-1) (setq
inhibit-warning-display nil) (when (noninteractive) (kill-emacs t)))
(if (noninteractive) (command-line) (condition-case data (command-line) (t (setq
error-data data))))
# bind (error-data)
(let (error-data) (if (noninteractive) (command-line) (condition-case data
(command-line) (t (setq error-data data)))) (setq default-directory (abbreviate-file-name
default-directory)) (if auto-save-list-file-prefix (setq auto-save-list-file-name
(expand-file-name (format "%s%d-%s" auto-save-list-file-prefix (emacs-pid)
(system-name))))) (run-hooks (quote emacs-startup-hook)) (and term-setup-hook (run-hooks
(quote term-setup-hook))) (setq term-setup-hook nil) (frame-notice-user-settings) (when
window-setup-hook (run-hooks (quote window-setup-hook))) (setq window-setup-hook nil) (if
error-data (signal-error (car error-data) (cdr error-data))))
(if command-line-processed (message "Back to top level.") (setq
command-line-processed t) (when (getenv "XEMACSDEBUG") (eval (read (getenv
"XEMACSDEBUG")))) (let ((value (user-home-directory))) (if (and value (<
(length value) (length default-directory)) (equal (file-attributes default-directory)
(file-attributes value))) (setq default-directory (file-name-as-directory value)))) (setq
default-directory (abbreviate-file-name default-directory)) (initialize-xemacs-paths)
(startup-set-invocation-environment) (let ((debug-paths (or debug-paths (and (getenv
"EMACSDEBUGPATHS") t)))) (setq emacs-roots (paths-find-emacs-roots
invocation-directory invocation-name (function paths-emacs-root-p))) (setq
emacs-data-roots (paths-find-emacs-roots invocation-directory invocation-name (function
paths-emacs-data-root-p))) (if debug-paths (princ (format "emacs-roots:\n%S\n"
emacs-roots) (quote external-debugging-output))) (if (null emacs-roots)
(startup-find-roots-warning)) (startup-setup-paths emacs-roots emacs-data-roots
user-init-directory (cond (inhibit-all-packages t) (inhibit-early-packages (quote
(early))) (t nil)) inhibit-site-lisp debug-paths nil) (startup-setup-paths-warning))
(startup-load-autoloads) (let (error-data) (if (noninteractive) (command-line)
(condition-case data (command-line) (t (setq error-data data)))) (setq default-directory
(abbreviate-file-name default-directory)) (if auto-save-list-file-prefix (setq
auto-save-list-file-name (expand-file-name (format "%s%d-%s"
auto-save-list-file-prefix (emacs-pid) (system-name))))) (run-hooks (quote
emacs-startup-hook)) (and term-setup-hook (run-hooks (quote term-setup-hook))) (setq
term-setup-hook nil) (frame-notice-user-settings) (when window-setup-hook (run-hooks
(quote window-setup-hook))) (setq window-setup-hook nil) (if error-data (signal-error (car
error-data) (cdr error-data)))) (if load-user-init-file-p
(maybe-migrate-user-init-file)))
# (condition-case ... . error)
NMAKE: fatal error U1077:
'"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src\i"' :
return code '0xffffffff'
Compilation exited abnormally with code 2 at Sun Feb 09 18:32:03
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/