Error compiling some C++ classes with driver v4.0

I thought so as well but couldn’t find anything setting GCC=1 in my env. For now, I defined _bsoncxxDisableWarningImpl_for_1 by copying _bsoncxxDisableWarningImpl_for_GCC in util.hpp. I think what you suggested should work as well. Thanks.