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

Summary: Project wizard settings for Fortran not correct
Product: cnd Reporter: fuser1
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: fuser1
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

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