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: Bob Arendt Subject: Re: DEC C compiler limitation Date: 1999/07/07 Message-ID: <3783B4C4.3E041B4B@cwcom.net>#1/1 X-Deja-AN: 498422309 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 8 Jul 1999 05:19:55 GMT, 195.44.17.20 MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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". 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)