- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
This program:
program test !DIR$ if Defined (bla) !DIR$ end if end program test
when compiled with ifort 17.07:
ifort -stand f08 tmp1.f90
yields:
tmp1.f90(2): warning #7025: This directive is not standard F2008. !DIR$ if Defined (bla) --------^ tmp1.f90(3): warning #7025: This directive is not standard F2008. !DIR$ end if --------^
For the example this is a minor problem, but when compiling +100,000 lines of code it can be become very anying when trying to find dangerous standard violations.
Is there any way to switch that off and still check the code for following the standard??
Thanks
Karl
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can add "-diag-disable 7025" which will turn off ONLY the messages about non-standard directives.
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
Karl
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