Maik Beckmann wrote:
> As a mainly gcc using c++ coder and working with people who are intel and sun
> fortran users I was just a little stunned by the unfamiliar preprocessor
> behavior and wondered if this was just an oversight. If you guys say it stays
> the way it is I fine with it.
For the sake of explanation, not adding much to the discussion: gfortran
strives for compatibility with g77 (the longtime 'standard' Fortran
compiler). g77 used traditional preprocessing. That's why gfortran
behaves the way it does. I'm surprised other compilers chose to act
incompatibly. Since noone complained so far (as for all I remember), my
guess is that either the differences simply are not what Fortran users
care about or people are happy with g77-compatible behavior.
Regards,
- Tobi
- preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T15:28:48+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tobias Schlüter on 2009-06-10T16:23:38+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tim Prince on 2009-06-10T16:42:20+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T16:57:54+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Steve Kargl on 2009-06-10T17:24:37+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tobias Schlüter on 2009-06-10T17:28:27+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tobias Schlüter on 2009-06-10T17:33:39+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tim Prince on 2009-06-10T17:57:25+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T20:29:13+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Steve Kargl on 2009-06-10T20:54:09+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tim Prince on 2009-06-10T21:12:39+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T21:14:26+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Steve Kargl on 2009-06-10T21:23:41+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T21:34:30+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-10T21:37:52+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Steve Kargl on 2009-06-10T21:55:37+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tobias Schlüter on 2009-06-11T01:22:18+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tim Prince on 2009-06-11T02:25:59+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Tobias Burnus on 2009-06-11T15:18:38+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Maik Beckmann on 2009-06-11T15:43:23+00:00
- Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler by Toon Moene on 2009-06-11T18:02:58+00:00