From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,915b54dc900b61b2 X-Google-Attributes: gidfee84,public From: Albert Chin-A-Young Subject: Re: DEC C compiler limitation Date: 1999/07/09 Message-ID: #1/1 X-Deja-AN: 498926002 Sender: Albert Chin-A-Young References: <3783B4C4.3E041B4B@cwcom.net> X-Trace: news.corecomm.net 931485804 208.150.51.102 (Thu, 08 Jul 1999 21:03:24 CDT) User-Agent: tin/pre-1.4-19990624 ("Dawnrazor") (UNIX) (IRIX/6.5 (IP22)) NNTP-Posting-Date: Thu, 08 Jul 1999 21:03:24 CDT Newsgroups: comp.unix.osf.osf1 Bob Arendt wrote: > Check the source format. If the source came from a DOS or > Windows platform, you probably have carriage returns instead > of newlines. Use something like: > od -c file | more > Use the "tr" command to translate all the "\r" > characters to "\n". Thanks. The source is fine though. The Sun cc, IRIX cc, and HP cc (with a tweak) can deal correctly with large strings. > Hope this helps, > -Bob Arendt > Albert Chin-A-Young wrote: >> >> While trying to compile pgp 5.0i with the DEC C compiler (from DU >> 4.0D), I received the following error: >> cc -O2 -std -DUNIX=1 -DHAVE_CONFIG_H -DPGPTRUSTMODEL=0 \ >> -DDEBUG=1 -DUNFINISHED_CODE_ALLOWED=0 -I../../. \ >> -I../.././include -I../include -I. -c pgpOutput.c -o \ >> pgpOutput.o >> cc: Severe: language.h, line 1263: A logical source line \ >> longer than 32767 characters was encountered. >> us=\"Key algorithm unknown\\n\"\n\ >> ^ >> >> This has to do with DEC cc not being able to accept a string literal >> longer than 32k. Will this be fixed? >> >> -- >> albert chin (china (at) thewrittenword (dot) com) -- albert chin (china (at) thewrittenword (dot) com)