[CXX-294] Users should not need to define _CRT_SECURE macros to consume our headers Created: 31/Jul/14  Updated: 23/Oct/14  Resolved: 04/Aug/14

Status: Closed
Project: C++ Driver
Component/s: Portability
Affects Version/s: legacy-1.0.0-rc0
Fix Version/s: legacy-1.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Right now, the way we handle the _CRT and _SCL macros, we force consumers of our libraries to set those.

Instead, we should just disable the warning while processing headers dragged in via bson.h and dbclient.h



 Comments   
Comment by Githook User [ 04/Aug/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-294 Use warning suppressions rather than macros for windows deprecations
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/52bbb84491b866fd2729c1c6740ddfb47fc04a3b

Comment by Andrew Morrow (Inactive) [ 31/Jul/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/123

Generated at Wed Feb 07 21:58:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.