- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Im trying to specify in one subroutine that I don't want to see a remark -thats its, for example: using/Qdiag-disable:7712-
The thing is I want to do this (if possible) inside the code. Is there a manner of achieve this with a !DEC$ directive or something?
Thanks in advance!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generally, no. The only diagnostic I know you could disable in this way is a warning about unaligned derived type/structure components. What specifically did you want to disable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to disable for exampleremark #7712 in several subroutines of my project
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah, that one is "variable has not been used". A traditional way of "disabling that diagnostic is to add a dummy assignment, such as:
unused = unused
at the start of the procedure. I will note that this warning is not enabled by default.
unused = unused
at the start of the procedure. I will note that this warning is not enabled by default.

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