Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Albert Chin-A-Young <china@my-the-written-word.com>
Subject: Re: DEC C compiler limitation
Date: 1999/07/09	[thread overview]
Message-ID: <MLch3.2026$L31.246176@news.corecomm.net> (raw)
In-Reply-To: 3783B4C4.3E041B4B@cwcom.net

Bob Arendt <rdarendt@cwcom.net> 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)



  reply	other threads:[~1999-07-09  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-07  4:00 DEC C compiler limitation Albert Chin-A-Young
1999-07-07  4:00 ` Bob Arendt
1999-07-09  4:00   ` Albert Chin-A-Young [this message]
1999-07-09  4:00 ` Jeff Sullivan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox