- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just now I have problem when transfer the code from HP unix Fortran compiler platform to intel x86 when I use intel fortran compiler. such as :
---------------------
program main
integer i, i
print*,'hello'
end
--------------------
Intel compiler report errors because of the mutiple-declaration of i.
but HP compiler couldn't, since it's really a good feature for Intel compiler.
but I am wondering that is there any option to disable such a report and omit such error?
Thanks in advance
JUN
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no compiler option to ignore this programming error. We're aware that a few compilers allow this, but we have made a decision to always report the error. You should correct the code.
![](/skins/images/8B5EA638CA3587CA763EE9EF53643DD4/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page