From: Massimo Gais <mgais () na ! astro ! it>
To: tru64-unix-managers
Subject: SUMMARY: DEC C compiler warning for a #define
Date: Wed, 12 Apr 2000 11:31:22 +0000 [thread overview]
Message-ID: <96079343919439.tru64-unix-managers.marc@archive.invalid> (raw)
Very quick summary!
Hint by ALLAN HAWDON <allan.hawdon@kcl.ac.uk>:
To fix this behaviour I need to add the "-std1" flag to the
compilation phase. This flag enforces the ANSI C standard,
and solves my problem.
On Wed, 12 Apr 2000, Massimo Gais wrote:
> Hello Tru64 managers,
>
> I have this problem:
>
> I'm trying to compile some programs in C language
> probably written to use the GCC compiler.
> On one of my machines I want to use the Digital CC
> compiler, but it gives me a warning when the preprocessor
> meets a #define of a #include not in column 1, and
> so it discards the whole row.
>
> How can I change the behaviour of the compiler so to
> accept and honour those non-column-1-starting directives?
>
> The version ('cc -V') is:
> DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)
>
> Thanks in advance
>
> Massimo Gais <mgais@na.astro.it>
> ----
>
> "UNIX is user friendly. It's just selective
> about who its friends are..."
>
>
Massimo Gais <mgais@na.astro.it>
----
"UNIX is user friendly. It's just selective
about who its friends are..."
reply other threads:[~2000-04-12 11:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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