Clicky

Fortran Wiki
m4 (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #3 to #4: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

It does seem to be a problem for fortran code that "format" is a built in m4 macro.

(追記) (追記ここまで)(追記)

There are ways around this with m4. The documentation for GNU m4 has a section on it. (url: [https://www.gnu.org/software/m4/manual/m4.html#Inhibiting-Invocation])

(追記ここまで)
(追記) (追記ここまで)(追記)

For instance, the "format" macro can be redefined. Also, there is a command line option (–prefix-builtins, or -P) that gives all built in macros a prefix of "m4_". That turns the "format" macro into the "m4_format" macro, and leaves the fortran FORMAT tokens alone.

(追記ここまで)
Revised on June 6, 2017 14:58:49 by tomtac (134.67.190.122) (520 characters / 0.0 pages)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Preprocessors

AltStyle によって変換されたページ (->オリジナル) /