- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting a standards warning that I don't understand from both 10.1.015 and 11.0.025:
ifort -stand=f95 argument_types.f90 argument_types.f90(4): warning #7374: F95 standard requires all arguments be of the same type and same kind type parameter. [1] iinteger(i1), parameter :: var2 = min(2_i1,var1) --------------------------------------------^
for the following code:
cat << EOF > argument_types.f90 program argument_types integer, parameter :: i1 = selected_int_kind(2) integer(i1), parameter :: var1 = 1_i1 integer(i1), parameter :: var2 = min(2_i1,var1) end program argument_types EOF
It seems that both arguments are integer type and i1 kind?
Confused,
--
Bil Kleb
http://fun3d.larc.nasa.gov
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Should I submit this as a bug?
Thanks,
--
Bil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, I will take care of that for you. It does appear the warningis erroneous. I will post an update when I have more from the Fortran compiler development team. (Internal ref. CQ-109905)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I verified the issue with the erroneous warning will be fixed in our upcoming 11.1 release this summer.
(Resolution Update on 6/30/2009): This defect is fixed in the Intel Fortran Compiler Professional Edition 11.1 Release (11.1.038 - Linux).
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