- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
!$ 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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.