[CXX-134] Switch from using _DEBUG to using our own debug macro Created: 12/Mar/14  Updated: 23/Oct/14  Resolved: 12/Sep/14

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

Type: Improvement Priority: Minor - P4
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   

_DEBUG is a windows thing about whether you are using the debug version of the runtime library.

The correct macro to test is NDEBUG which is part of the C++ standard.



 Comments   
Comment by Githook User [ 12/Sep/14 ]

Author:

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

Message: CXX-134 Debug builds don't affect interface
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/16734cddc02ff23d8bc6554c180f24ad91431537

Comment by Andrew Morrow (Inactive) [ 12/Sep/14 ]

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

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