Jump to content
  • Advertisement
Sign in to follow this  
Tylon

Assigning 'any' to another any

This topic is 4549 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The code following code: struct moo { int x; }; moo p; any a1(@p); any a2; a2 = a1; Results in visual c++ 2005 giving me the following message when my program exits "Windows has triggered a breakpoint in test.exe. This may be due to a corruption of the heap, and indicates a bug in test.exe or any of the DLLs it has loaded. The output window may have more diagnostic information" However, the program appears to work fine (a2, does indeed hold a correct handle to the moo instance). What could be the problem? [Edited by - Tylon on December 4, 2005 7:48:15 AM]

Share this post


Link to post
Share on other sites
Advertisement
I've not been able to reproduce this. As far as I can tell everything is working fine with the any type, I executed your script without any problem when the application is shutting down.

Would it be possible for you to send me tiny test app that reproduces the problem?

Regards,
Andreas

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!