unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Change to emacs.c: USAGE1 string is too big for Microsoft compiler.
@ 2004-02-21 17:13 Stephen Powell
  2004-02-21 17:46 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Powell @ 2004-02-21 17:13 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-22  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-21 17:13 Change to emacs.c: USAGE1 string is too big for Microsoft compiler Stephen Powell
2004-02-21 17:46 ` Eli Zaretskii
2004-02-21 20:46   ` Kevin Ryde
2004-02-21 22:14     ` Jan D.
2004-02-22  9:15     ` Jason Rumney

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).