[CXX-2099] 3.6.0, missing <string> includes, OSX/Clang Created: 29/Aug/20 Updated: 02/Sep/20 Resolved: 02/Sep/20 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | 3.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Allan Bazinet | Assignee: | Clyde Bazile III (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OSX 10.15.6, XCode 11.6 (clang 11.0.3) |
||
| Issue Links: |
|
||||||||
| Description |
|
During compilation on OSX 10.15.6, using XCode 11.6 (clang 11.0.3), the build fails on options/auto_encryption.cpp and options/client_encryption.cpp, with the usual template vomit specific to a missing <string> header. Relevant flags in use are: CC=clang CXX=clang++ CXXFLAGS="-std=c+17 -stdlib=libc+" -DBSONCXX_POLY_USE_STD=1 -DCMAKE_CXX_STANDARD=17 Adding an include for <string> to options/auto_encryption.hpp and options/client_encryption.hpp allows the build to proceed. Probably not the optimal solution, but it worked for us. |
| Comments |
| Comment by Clyde Bazile III (Inactive) [ 02/Sep/20 ] |
|
alb@neptunesystems.com Thanks for raising this issue. I created |