- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I get an inappropriate remark #7712 from the following code
module A contains subroutine A_sub implicit none integer :: i = 0 namelist/this_out/i write(*, nml=this_out) end subroutine A_sub end module A program test_namelist use, non_intrinsic :: A call A_sub stop end program ! Output during build: !------ Build started: Project: test_namelist, Configuration: Debug|Win32 ------ ! !Compiling with Intel(R) Visual Fortran Compiler 17.0.4.210 [IA-32]... !test_namelist.f90 !C:\Users\ces1nk\Dropbox\Shuttlebackup\Dept\Research\Programs\Test\test_namelist\test_namelist\test_namelist.f90(5): remark #7712: ! This variable has not been used. !The command line included the following switches (i.e. almost /warn: kitchen_sink) !/nologo /debug:full /Od /warn:declarations /warn:unused /warn:truncated_source /warn:interfaces /module:"Debug\\" & !/object:"Debug\\" /Fd"Debug\vc110.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c
but I do not get the remark #7712 from the following (same setup/switches etc
program test_namelist use, non_intrinsic :: A call A_sub stop contains subroutine A_sub implicit none integer :: i = 0 namelist/this_out/i write(*, nml=this_out) end subroutine A_sub end program
Both programs run fine but I do not like programs making inappropriate remarks!
Thanks
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The second program has the use, non_intrinsic :: A commented out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue is fixed in 18.0 compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Excellent, thanks.

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