[CXX-522] Tag free functions with calling convention macro Created: 10/Feb/15 Updated: 28/Jan/16 Resolved: 20/Jan/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Portability |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | C++11 Driver MongoDB 3.2 |
| Description |
|
On windows, free functions may have many different calling conventions, based on compiler switches. We should macro in a hard convention that our free functions are cdecl, much like the legacy driver does. |
| Comments |
| Comment by Githook User [ 20/Jan/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: On Windows, non-inline non-member functions of non-template classes Also a few drive-by fixes:
|
| Comment by Andrew Morrow (Inactive) [ 17/Jan/16 ] |