- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Within the compiler options, I set the Default Integer KIND and Default Real KIND to 8. I get a compiler error on all the DFLOGM libraries functions, such as "error #6284: There is no matching specific function for this generic function reference. [DLGINIT]".
Instead of globally making all my variables KIND 8, am I going to have to declare each one in all subroutines to get around this error with the library functions?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - no different than any other source of explicit interfaces. The DFLOGM routines are not generic. In general, I recommend against using the options to change the default kinds. You should declare PARAMETER constants for your kind values based on SELECTED_INT_KIND and SELECTED_REAL_KIND and reference those, rather than hard-coding 8 or 4.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page