|
[Sponsors] |
August 30, 2004, 06:30 |
fortran error
|
#1 |
Guest
Posts: n/a
|
dear Cfd people, my VisualFortran 6.6 doesn't compile a program, error message being "unknown switch: \annotations: code". We think it depends on my notebook OS, Microsoft Xp, but we aren't sure. Someone can help me? Thank you!
|
|
August 30, 2004, 12:30 |
Re: fortran error
|
#2 |
Guest
Posts: n/a
|
Load a workspace containing your project. Then, on the menu bar at the top of the window, click on "Project" --> "Settings". In the little dialog box that pops up, look under the "Fortran", "Link" and "Browse" tabs, to check for the switch (Project Option) that the compiler complains about. I do not see any such switch under my Project Options, but this may be irrelevant. Incidentally, all the switches begin with a forward slash (/), not a backward slash (\). So perhaps the compiler is complaining about the "\" in "\annotations: code". In any case, if you spot such a switch, you can delete it from the Project Options, and see whether the compilation is then successful. Or, check the online documentation for the correct switch to use for the effect that the Project is trying to achieve.
|
|
August 31, 2004, 04:04 |
Re: fortran error
|
#3 |
Guest
Posts: n/a
|
It should indeed be "/annotations:code" rather than "\annotations:code". The default is /noannotations (Same as /annotations:none)
Below is an extract from the help on this: /annotations:code Specifying /annotations:code annotates the machine code listing with descriptions of special instructions used for prefetching, alignment, and so on. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
Accessing phi from a fvPatchField at same patch | johndeas | OpenFOAM | 1 | September 13, 2010 21:23 |
[Netgen] Installation of Netgen in SuSE Linux 92 | edvardsenpriv | OpenFOAM Meshing & Mesh Conversion | 23 | January 16, 2009 07:12 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |