SUMMARY: DEC C compiler warning for a #define

From: Massimo Gais <mgais_at_na.astro.it>
Date: Wed, 12 Apr 2000 13:31:22 +0200 (MET DST)

Very quick summary!

Hint by ALLAN HAWDON <allan.hawdon_at_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_at_na.astro.it>
> ----
>
> "UNIX is user friendly. It's just selective
> about who its friends are..."
>
>

Massimo Gais <mgais_at_na.astro.it>
----
			"UNIX is user friendly. It's just selective 
				about who its friends are..." 
Received on Wed Apr 12 2000 - 11:32:09 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT