[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Change to emacs.c: USAGE1 string is too big for Microsoft compiler.
From: |
Stephen Powell |
Subject: |
Change to emacs.c: USAGE1 string is too big for Microsoft compiler. |
Date: |
Sun, 22 Feb 2004 04:13:06 +1100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) Hamster/2.0.4.0 |
The latest update to emacs.c makes the USAGE1 string to long for
Microsofts compiler. It doesn't like this line:
printf (USAGE1, argv[0]);
,----
| Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
| Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
|
| cl -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -nologo -D_X86_=1
-c -Zel -W2 -H63 -Oxsb2 -Oy- -G6dF -Zp8 -Zi -Di386 -D_CRTAPI1=_cdecl
-DENABLE_CHECKING -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc
-D_UCHAR_T -DHAVE_NTGUI=1 -Foobj-spd/i386\ emacs.c
| emacs.c
| emacs.c(1067) : error C2026: string too big, trailing characters truncated
`----
According to Microsofts site
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/C2026.asp>
The string was longer than the limit of 2048 single-byte characters.
Prior to adjacent strings being concatenated, a string cannot be
longer than 2048 single-byte characters.
A Unicode string of about one half this length would also generate
this error.
--
Stephen Powell
stephen_powell <at> optusnet.com.au
- Change to emacs.c: USAGE1 string is too big for Microsoft compiler.,
Stephen Powell <=