[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Microsoft bans memcpy



On, Fri May 15, 2009, Tyler Laing wrote:

> So, MS has banned memcpy, so it would probably be prudent to begin work on
> migration to the safe(r) version for Windows:
>
> http://blogs.msdn.com/sdl/archive/2009/05/14/please-join-me-in-welcoming-memcpy-to-the-sdl-rogues-gallery.aspx

Woohoo. It's so damn safe - as with memcpy you have to know and watch
the destination buffer size. Amazing improvement to explicitly add it now...

It basically reads as "add an ignore for warning C4995" to your code
from now on.

Regards
Marcus

Attachment: pgpkjS50wu_lb.pgp
Description: PGP signature