Compiling as C++.
as is the default for a beta version.
At least this little patch is required to make glyphs-msw.c compile
while
Compiling in support for X-Face message headers.
I suspect the same will be required in glyphs-x.c under above
conditions.
Index: glyphs-msw.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/glyphs-msw.c,v
retrieving revision 1.46
diff -u -u -r1.46 glyphs-msw.c
--- glyphs-msw.c 2003/01/12 11:08:16 1.46
+++ glyphs-msw.c 2003/02/11 21:57:33
@@ -1617,9 +1617,11 @@
#define SYSV32
#ifdef __cplusplus
extern "C" {
+#define __STDC__
#endif
#include <compface.h>
#ifdef __cplusplus
+#undef __STDC__
}
#endif
/* JMP_BUF cannot be used here because if it doesn't get defined
This is so, because compface.h has this:
#if defined(__STDC__)
#define P(args) args
#else /* ! __STDC__ */
#define P(args) ()
#endif /* STDC */
void UnCompAll P((char *)) ;
However, i.exe crashes as follows now:
Fatal error: assertion failed, file
c:\hacking\cvs.xemacs.org\xemacs\xemacs-21.5\src\specifier.c, line 2432, SPECIFIERP
(fallback) || !NILP (Fvalid_inst_list_p (fallback, Fspecifier_type (specifier)))
Best regards,
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-20030210) 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".
Compiling as C++.
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\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 Tue Feb 11 22:35:00 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
LINK: LNK6004: c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\src\temacs.exe not found
or not built by the last incremental link; performing full link
Fatal error: assertion failed, file
c:\hacking\cvs.xemacs.org\xemacs\xemacs-21.5\src\specifier.c, line 2432, SPECIFIERP
(fallback) || !NILP (Fvalid_inst_list_p (fallback, Fspecifier_type (specifier)))
NMAKE: fatal error U1077:
'"c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5\nt\..\lib-src\i"' :
return code '0xc0000005'
Compilation exited abnormally with code 2 at Tue Feb 11 22:54:54
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/