[CXX-1047] MSVC warning C4714, bsoncxx operator <<, view() etc. marked as __forceinline not inlined Created: 23/Sep/16 Updated: 08/Jan/24 Resolved: 17/Nov/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | BSON |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rustam Abdullaev | Assignee: | David Golden |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In MSVC 2015U3, the compiler is unable to inline some bsoncxx functions. Try compiling the following with /O2 /W4 (warning level 4):
Output:
|
| Comments |
| Comment by Githook User [ 29/Nov/16 ] |
|
Author: {u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}Message: They should be unnecessary since we already have the privacy tags and |
| Comment by Githook User [ 17/Nov/16 ] |
|
Author: {u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}Message: They should be unnecessary since we already have the privacy tags and |
| Comment by David Golden [ 17/Nov/16 ] |
| Comment by David Golden [ 03/Nov/16 ] |
|
Since we're about to ship 3.0.3, I'm moving this ticket out to 3.1 as I don't want to rush a fix. |