Bug 4855 - Disable deprecated 'unsafe' function warnings on MSVC++ >= VC8+
Summary: Disable deprecated 'unsafe' function warnings on MSVC++ >= VC8+
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other Windows XP
: P5 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 13:35 UTC by Nico Prenzel
Modified: 2006-04-04 07:05 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
Patch disables deprecated 'unsafe' function warnings patch None Nico Prenzel [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Prenzel 2006-04-04 13:35:20 UTC
MS has created a bunch of new 'safe' CRT routines (with new names). The 
old 'unsafe' functions have been marked with a DEPRECATED keyword so they will 
generate a level 1 warnings unless _CRT_SECURE_NO_DEPRECATE is defined, or all 
deprecation warnings are turned off with "#pragma warning(disable : 4996)". 
Since the new MS functions are not cross platform (and probably never will be) 
these function warnings should be disabled.

Greeting.

NicoP.
Comment 1 Nico Prenzel 2006-04-04 13:42:27 UTC
Created attachment 3449 [details]
Patch disables deprecated 'unsafe' function warnings
Comment 2 Justin Mason 2006-04-04 14:05:26 UTC
thanks Nico.  r391293.