From: Stephen Powell <stephen_powell@optusnet.com.au>
Subject: Change to emacs.c: USAGE1 string is too big for Microsoft compiler.
Date: Sun, 22 Feb 2004 04:13:06 +1100 [thread overview]
Message-ID: <uoerscq59.fsf@optusnet.com.au> (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
next reply other threads:[~2004-02-21 17:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-21 17:13 Stephen Powell [this message]
2004-02-21 17:46 ` Change to emacs.c: USAGE1 string is too big for Microsoft compiler Eli Zaretskii
2004-02-21 20:46 ` Kevin Ryde
2004-02-21 22:14 ` Jan D.
2004-02-22 9:15 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uoerscq59.fsf@optusnet.com.au \
--to=stephen_powell@optusnet.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).