"USE IFPORT" not needed?

"USE IFPORT" not needed?

Using 8.1.023 on Linux:

Given this code from the library reference:

Code:

use IFPORT
character*20 username
CALL GETLOG (username)
print *, "You logged in as ",username

I can remove the "use IFPORT" statement and compile withonly the -static-libcxaoption and the code still works. I guess I don't understand why when I don't include the "use IFPORT" statement, the code still works.

Thanks,

Chris

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The portability library is linked in by default. You can get away without the USE for many routines. But some with varying argument lists (RAND, for example) require the USE.

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today