Author: wyoung
Date: Fri Mar 3 13:42:50 2006
New Revision: 1208
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1208&view=rev
Log:
Added a new warning squisher for VS 2005
Modified:
branches/v2.1-bakefile/lib/platform.h
Modified: branches/v2.1-bakefile/lib/platform.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/lib/platform.h?rev=1208&r1=1207&r2=1208&view=diff
==============================================================================
--- branches/v2.1-bakefile/lib/platform.h (original)
+++ branches/v2.1-bakefile/lib/platform.h Fri Mar 3 13:42:50 2006
@@ -10,7 +10,7 @@
/***********************************************************************
Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by
- MySQL AB, and (c) 2004, 2005 by Educational Technology Resources, Inc.
+ MySQL AB, and (c) 2004-2006 by Educational Technology Resources, Inc.
Others may also hold copyrights on code in this file. See the CREDITS
file in the top directory of the distribution for details.
@@ -53,6 +53,8 @@
# pragma warning(disable: 4355)
// Disable whining about implicit conversions to bool
# pragma warning(disable: 4800)
+ // Disable nagging about new "secure" functions like strncpy_s()
+# pragma warning(disable: 4996)
// Call _snprintf() for VC++ version of snprintf() function
# define snprintf _snprintf
# endif
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits