fpp __FILE__ macro expansion too long

fpp __FILE__ macro expansion too long

I have a Windows/Solaris project with legacy fixed-format Fortran code, compiled with CVF or Sun WorkShop, respectively. I am using the __FILE__ macro for trace information (with "/fpp:-m"), but the expansion is longer than 132 characters on Windows. (For example, on XP: "C:Documents and SettingsUser NameMy DocumentsProjectsCVSproject_namesrcpackage_name...module_name.for")

With Solaris, using the SunWorkShop/Forte compiler, fpp automatically inserts continuations for lines that exceed the line length specification -- Is there a similar preprocessor option to make CVF do that as well?

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.