Subject: | Does not build with MSVC due to assumption that all compilers are gcc |
Date: | Thu, 9 Jun 2016 06:05:30 -0400 |
To: | bug-URI-XSEscape [...] rt.cpan.org |
From: | "A. Sinan Unur" <nanis [...] cpan.org> |
Makefile.PL adds gcc specific options to CCFLAGS.
`gmem.c` includes non-portable header `unistd.h`.
As a result, the module does not build on Windows using MSVC.
I don't quite understand what `gmem.c` does, so, I am not able to
provide a pull request at the moment, but please consider using
portable constructs.
If the module is only intended to be built with gcc, please update
Makefile.PL to die in other cases.
Thank you.
-- Sinan