- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, we have some old fixed format file that we still use... except now we try not to have it be fixed format -- a mix of language.
Recently, in the "release" configuration, it started compiling
!$
and
!d
lines as though they were code. (This was not true in debug configuration).
Any brilliant, quick ideas of what compiler switches would have done this? (before I go and compare the command lines).
As a different question, if some switches that usually appear in the "top box" in the IDE are put in the bottom box (where you put ones the IDE may not have options for), are they still used? I would guess so -- they just don't tick the IDE boxes?
Recently, in the "release" configuration, it started compiling
!$
and
!d
lines as though they were code. (This was not true in debug configuration).
Any brilliant, quick ideas of what compiler switches would have done this? (before I go and compare the command lines).
As a different question, if some switches that usually appear in the "top box" in the IDE are put in the bottom box (where you put ones the IDE may not have options for), are they still used? I would guess so -- they just don't tick the IDE boxes?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
!$ I could see if you had OpenMP enabled, as this indicates an OpenMP continuation line. No idea why !d would be accepted. Can you attach a sample source file and build log?
Yes, if you add switches in Additional Options, they are used but don't get reflected elsewhere in the IDE.
Yes, if you add switches in Additional Options, they are used but don't get reflected elsewhere in the IDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I might have been wrong about the !d -- I think OpenMP might be in the compiler options even though no OpenMP directives in this particular piece of code.
Yes, /QOpenMP is entered. (This is being done from a blanket generation using CMake and I guess blanket /QOpenMP used.) And must not be used in the debug configuration.
Thanks, Steve. It was a puzzler.
Yes, /QOpenMP is entered. (This is being done from a blanket generation using CMake and I guess blanket /QOpenMP used.) And must not be used in the debug configuration.
Thanks, Steve. It was a puzzler.
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