Re: fcntl.h allows inclusion of sys/stat.h in an illegal way

2014-09-15 Thread Johannes Zarl
> Pushed your fix at: > http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=b8e2c7f Thanks! Johannes

fcntl.h allows inclusion of sys/stat.h in an illegal way

2014-09-11 Thread Johannes Zarl
Hi, fcntl.h as supplied on many glibc systems includes sys/stat.h in an extern "C" linkage block. Together with the use of namespaces in gnulib sys/stat.h this results in illegal (as in against the standard) C++ code. Older gcc versions seem to have diagnosed this correctly, as there is a work