I installed Intel Visual Fortran Compiler Version 11.1.035. In this version the Fortran-commentlines starting with a "C" in the first column are not recognized as comments anymore(for syntax highlighting).
How can I resolve this ?
How can I resolve this ?
链接已复制
8 回复数
Quoting - erich.riegler@joanneum.at
I installed Intel Visual Fortran Compiler Version 11.1.035. In this version the Fortran-commentlines starting with a "C" in the first column are not recognized as comments anymore(for syntax highlighting).
How can I resolve this ?
How can I resolve this ?
Was your file extension .f90 (freeform - C in the first column is not a comment) or .f/.for (fixed format - C in the first column is a comment).?
Quoting - bendel boy
Was your file extension .f90 (freeform - C in the first column is not a comment) or .f/.for (fixed format - C in the first column is a comment).?
The file(s) are .f (fixed format).
Quoting - Steve Lionel (Intel)
This is a known problem if you have multiple projects and open the file from an error message, or perhaps some other ways. It will be fixed in a future update.
But this worked well with the last Version of the Compiler we used !
So what has changed in the IDE-integration ?
I'm not sure what changed, and I can't be certain that you are seeing the same problem. If you create a new project with a fixed-form source file (.f) and open that file from the Solution Explorer pane, do you get the highlighting correct?
Quoting - Steve Lionel (Intel)
I'm not sure what changed, and I can't be certain that you are seeing the same problem. If you create a new project with a fixed-form source file (.f) and open that file from the Solution Explorer pane, do you get the highlighting correct?
Yes, in that case it works correct.
But in existing projects it does not, as it did until installing the new compiler version.
Erich