tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: DEC C compiler warning for a #define
@ 2000-04-12 11:31 Massimo Gais
  0 siblings, 0 replies; only message in thread
From: Massimo Gais @ 2000-04-12 11:31 UTC (permalink / raw)
  To: tru64-unix-managers

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..." 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-12 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-12 11:31 SUMMARY: DEC C compiler warning for a #define Massimo Gais

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