Hi, I am trying to build Postfix-3.9 (20240213) with MongoDB support. Using clang the build fails:
dict_mongodb.c:258:6: error: expected expression 258 | const uint8_t *dataBuffer = NULL; | ^ dict_mongodb.c:269:35: error: use of undeclared identifier 'dataBuffer' 269 | bson_iter_array(iter, &len, &dataBuffer); | ^ dict_mongodb.c:270:37: error: use of undeclared identifier 'dataBuffer'; did you mean 'setbuffer'? 270 | if ((data = bson_new_from_data(dataBuffer, len)) != 0 | ^~~~~~~~~~ | setbuffer /usr/include/stdio.h:394:7: note: 'setbuffer' declared here 394 | void setbuffer(FILE *, char *, int); | ^ 3 errors generated. *** Error code 1 Stop. This happens on FreeBSD (main and stable/14) and Arch Linux. With gcc (12 and 13) it works. Thanks. -- Herbert _______________________________________________ Postfix-devel mailing list -- postfix-devel@postfix.org To unsubscribe send an email to postfix-devel-le...@postfix.org