From: Bob Arendt <rdarendt@cwcom.net>
Subject: Re: DEC C compiler limitation
Date: 1999/07/07 [thread overview]
Message-ID: <3783B4C4.3E041B4B@cwcom.net> (raw)
In-Reply-To: SGBg3.915$L31.194096@news.corecomm.net
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)
next prev parent reply other threads:[~1999-07-07 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 [this message]
1999-07-09 4:00 ` Albert Chin-A-Young
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