------- Comment #2 from dnovillo at gcc dot gnu dot org 2009-09-30 20:17 ------- More portability concerns from
http://gcc.gnu.org/ml/gcc-patches/2009-09/msg02157.html > +/* This needs to be included after config.h. Otherwise, _GNU_SOURCE will not > + be defined in time to set __USE_GNU in the system headers, and strsignal > + will not be declared. */ > +#include <sys/mman.h> mmap and <sys/mman.h> are also not portable to all supported hosts (e.g. MinGW). There should be configure tests and a suitable fallback. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41526