[CDRIVER-2] platform_hacks.h functions require a cast from void * to char * in C++ compilers Created: 03/Dec/09 Updated: 19/Oct/16 Resolved: 03/Dec/09 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Orlando Vazquez | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
ubuntu server 32bit |
||
| Description |
|
Compiling the drivers causes a compiler error on c++ compilers (or at least, g++): In file included from /home/orlando/projects/node-mongodb/mongo-c-driver/src/bson.h:6, Explicitly casting the arguments of these functions to (char *) seems to make it work. |
| Comments |
| Comment by auto [ 03/Dec/09 ] |
|
Author: {'name': 'Mathias Stearn', 'email': 'redbeard0531@gmail.com'}Message: changes to compile with C++ code. |