From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Powell Newsgroups: gmane.emacs.devel Subject: Change to emacs.c: USAGE1 string is too big for Microsoft compiler. Date: Sun, 22 Feb 2004 04:13:06 +1100 Organization: Hail Eris! Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077384160 26258 80.91.224.253 (21 Feb 2004 17:22:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2004 17:22:40 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Feb 21 18:22:34 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Auapm-0004wS-00 for ; Sat, 21 Feb 2004 18:22:34 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Auapm-0002vc-00 for ; Sat, 21 Feb 2004 18:22:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Auaoq-0001AC-VT for emacs-devel@quimby.gnus.org; Sat, 21 Feb 2004 12:21:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Auaom-00018i-61 for emacs-devel@gnu.org; Sat, 21 Feb 2004 12:21:32 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AuaoF-0000hS-4t for emacs-devel@gnu.org; Sat, 21 Feb 2004 12:21:31 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuaoE-0000hM-Qi for emacs-devel@gnu.org; Sat, 21 Feb 2004 12:20:58 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AuaoB-0007Sc-00 for ; Sat, 21 Feb 2004 18:20:55 +0100 Original-Received: from parax26-a023.dialup.optusnet.com.au ([203.164.97.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 17:20:55 2004 Original-Received: from stephen_powell by parax26-a023.dialup.optusnet.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 17:20:55 2004 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: parax26-a023.dialup.optusnet.com.au User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) Hamster/2.0.4.0 Cancel-Lock: sha1:uaHk73tawUU/OkmCBHHY1JrUBK4= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20098 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 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 optusnet.com.au