Eric Blake asked: > Is it also necessary to wrap safe-read.c with extern "C", for use when > using g++ as a type-safe variant of a C compiler, to match the header?
Normally not. The 'extern "C"' is only needed in mixed C/C++ builds. > And should you be symmetric with safe-write.h? I deal with these issues on a case-by-case basis. But if you want to add extern "C" to all gnulib .h files at once, I have no objection. Bruno