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

8290 users have contributed to 31237 threads and 99114 posts to date.
In the past 24 hours, we have 8 new thread(s) 19 new posts(s), and 25 new user(s).

In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to Pipeline buffer between stages? The post with the most views is Very amusing...  Escalated as

Please welcome our newest member zq.x