This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248773 - Project wizard settings for Fortran not correct
Summary: Project wizard settings for Fortran not correct
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 10:36 UTC by fuser1
Modified: 2015-03-18 03:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fuser1 2014-11-20 10:36:44 UTC
Hi. When using the New Project Wizard to create a Fortran project the file extension is .f and the fixed format Fortran template is used.

These settings are not correct for new projects since the 1990 Fortran standard. Since then it is customary for all new projects to use free format source and the file extension should be .f90 not .f

The .f is an old extension for fixed format source and is retained for compatibility only. It should not be used on new projects.

.f90 is a valid extension for Fortran 90/95/2003/2008 and current, and it is expected to contain free form source by all major compilers including Studio, gnu, Intel, etc.

As far as I can tell this bug was present in cnd from at least Netbeans 7.4 until now. It also affects Solaris Studio IDE.
Comment 1 Alexander Simon 2015-03-17 15:56:43 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/755bc6d53336
Comment 2 Quality Engineering 2015-03-18 03:29:01 UTC
Integrated into 'main-silver', will be available in build *201503180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/755bc6d53336
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #248773 Project wizard settings for Fortran not correct