Yes. The change HJL recommends is to glibc. In waitstaus.h where you see #ifdef __GNUC__ before the __extension__ stuff for WIFEXITED, change this to #if defined(__GNUC__) && !defined(__cplusplus__)