This fails cplusplucheck:
./src/include/access/brin_xlog.h:79:17: error: expected unqualified-idbefore ‘new’
"new" is a reserved word in C++, so you can't have it in a header file.