- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I run the Intel compiler with the -v flag, a list of #include search directories is produced. This list does not include any of the -I that are passed on the command line. It is pretty clear that these -I dirs are being searched, since using -H shows the files being found in those search paths.
Is this the way the Intel compiler always shows this output? What controls the search order for the include directories?
Is this the way the Intel compiler always shows this output? What controls the search order for the include directories?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would expect the search to take the paths you specify, followed by the include directory in the icc installation, followed by the paths set by g++. The g++ search order is not the same in all installations.
Usually, the option icc -# takes the place of gcc -v.
Usually, the option icc -# takes the place of gcc -v.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can reproduce the problem and have entered this in our problem tracking database as DPD200157617.
We should be compatible with gcc and we are not.
thanks for your report.
Judy
We should be compatible with gcc and we are not.
thanks for your report.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this issue is fixed a while back in 14.0.
Jennifer
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