From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079343919439.tru64-unix-managers.marc@archive.invalid> From: Massimo Gais Date: Wed, 12 Apr 2000 11:31:22 +0000 To: tru64-unix-managers Subject: SUMMARY: DEC C compiler warning for a #define X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079343919439 Very quick summary! Hint by ALLAN HAWDON : 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 > ---- > > "UNIX is user friendly. It's just selective > about who its friends are..." > > Massimo Gais ---- "UNIX is user friendly. It's just selective about who its friends are..."