Crashes in Intel C++ Compiler, doesn't crash in Microsoft VS2005 C++ Compiler -- HELP!

jdanowitz
Total Points:
60
Status Points:
10
Green Belt
January 19, 2009 8:35 AM PST
Rate
 
#7 Reply to #6

You are right and I did not explain myself correctly. The delete [] was a BUG. The program should have crashed in the visual studio C++ compiler version as well, but it did not.

Once I got rid of the incorrect "[]" then the Intel compiled version ran as well. The crash that I saw was not the one that I mentioned -- this happened both in the visual version and in the Intel version and it is a first time exception which when passed to the application, the application continues to run. This has to do with some list box that I have on a property sheet and I have never found a way to fix it -- the Microsoft people actually say that it might not really be a problem if after the first time exception, everything is ok.

So indeed, you are correct and delete is needed and NOT delete [].

Thanks for the comment...

Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100770 posts to date.
In the past 24 hours, we have 28 new thread(s) 120 new posts(s), and 168 new user(s).

In the past 3 days, the most popular thread for everyone has been Implicite multithreading ??? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99