This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: preprocessor in g77?


Jack Howarth wrote:

> Hello,
>    I was wondering if there are any allowable
> precessor statements in the current 2.95.4
> g77? I have some source code that needs to be
> ported to g77 which uses
>
> #if defined(USE_GETSEED)
> ...
> #else
> ...
> #endif
>
> That doesn't appeared to be allowed.

Just use the following suffixes: `.F', `.fpp', or `.FPP' and cpp will be invoked
by the driver before anything else (i.e., exactly as happens for C and C++).

Cheers,
Paolo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]