Visual Studio 2008 unreferenced local variable bug Posted on 2008-09-19 by Stewart Smith screenshot ’cause typing is for wusses UPDATE: not actually VS bug. Nasty macro defining strtok_r to strtok on Win32. ouch. Share this:MastodonRedditLinkedInPocketFacebookXLike this:Like Loading... Related
The nasty macro can be less nasty is strtok_r would be defined to strtok_s (requires VS2005 or later though) http://msdn.microsoft.com/en-us/library/ftsafwz3(VS.80).aspx
Yeah, that’s what I now have (with #ifdef’s). Although it’s not good for VS2003, which build team uses :(
The nasty macro can be less nasty is strtok_r would be defined to strtok_s (requires VS2005 or later though)
http://msdn.microsoft.com/en-us/library/ftsafwz3(VS.80).aspx
Yeah, that’s what I now have (with #ifdef’s). Although it’s not good for VS2003, which build team uses :(