Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran-dev] Fortran project properties

> If I have Photran installed, all my C/C++ projects show "Fortran Build" and "Fortran General"
> items in the project properties. Presumably this is because you've done away with the Fortran
> project type, but I think it's really confusing. Don't you have a Fortran nature? Shouldn't these
> properties only be shown for projects with this nature?

We have always allowed C projects and Fortran projects to be used
interchangeably: everything that works in one works in the other.
This is mostly because we "steal" large pieces from CDT, and so we
give Fortran projects a C nature to make them function properly.

The Fortran nature is a recent addition; Matt Scarpino originally
contributed it to give Fortran projects the "right" icons in the
Fortran Projects view (despite the fact that they're C projects under
the hood).  You're right, conceptually -- we should probably move to a
model where a Fortran projects is-a-kind-of C project, but a C project
is not necessarily a Fortran project.  But that's a can of worms I'd
rather not open three weeks before Helios M7.  :-)  In the near term,
I think it's best that we keep C and Fortran projects interchangeable,
but this would be worth revisiting after Helios...

Jeff


Back to the top