- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
i get the following message at the end of a program run.
***
Debug Assertion failed
For more information on how your program can cause an assertion failure, see the visual C++ documentation on asserts
****
i dont have any clue on what to do or where to search for VC++ documentation, which i dont have, can anybody help me in this regard.
Ps: is it related to memory allocation in any way?
thanks in advance
vivek
コピーされたリンク
3 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have seen this happen in mixed Fortran-C programs that use the Debug C library. It is usually a false alarm due toFortran doing its own memory allocation at times. You can select the non-debug libraries (need to do it separately for Fortran and C) to get rid of the message.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hey, thanks for the hint. As you guessed, in my application it was because of the large chunk of memory allocation done in fortran. I compiled all the files from dos-prompt and linked them without the debug information and it worked. I think this shortcome in Compaq fortran must be rectified.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Well, nothing is going to be done in Compaq Visual Fortran - there will be no further updates to that product. I would even go as far as to say it isn't a bug - it's a feature that the C++ library is alerting you to a chunk of memory that did not get deallocated.
You get this only when building with the debug C++ libraries, not in a "Release" configuration.
