Author: wyoung
Date: Thu Mar 29 19:20:33 2007
New Revision: 1483

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1483&view=rev
Log:
Ignoring VC++ warning C4251, which seems to be some sort of confusion
regarding exporting a class that uses an STL data member.  It doesn't
seem to be reporting anything that matters, as everything seems to run
just fine.  Until we get complaints we can trace to this, it's just
noise.

Modified:
    trunk/lib/common.h

Modified: trunk/lib/common.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/common.h?rev=1483&r1=1482&r2=1483&view=diff
==============================================================================
--- trunk/lib/common.h (original)
+++ trunk/lib/common.h Thu Mar 29 19:20:33 2007
@@ -57,6 +57,9 @@
 #              pragma warning(disable: 4800)
                // Disable nagging about new "secure" functions like strncpy_s()
 #              pragma warning(disable: 4996)
+               // Disable complaints about STL data members: VC++ believes
+               // these need to be __declspec(dllexport) for some reason.
+#              pragma warning(disable: 4251)
                // 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

Reply via email to