Skip Menu |

This queue is for tickets about the Image-PNG-Simple CPAN distribution.

Report information
The Basics
Id: 106158
Status: new
Priority: 0/
Queue: Image-PNG-Simple

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Does not compile on FreeBSD systems
Compilation fails on FreeBSD systems (tried on 9.2 and 10.1): cc -c -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC -fPIC "-I/usr/perl5.16.3t/lib/5.16.3/amd64-freebsd-thread-multi/CORE" BmpIoLib.c In file included from BmpIoLib.c:6: /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>" BmpIoLib.c:10:20: error: alloca.h: No such file or directory In file included from BmpIoLib.c:13: BmpIoLib.h:67:28: warning: no newline at end of file BmpIoLib.c:745:2: warning: no newline at end of file *** [BmpIoLib.o] Error code 1 The fix is to remove the lines #include <malloc.h> and #include <alloca.h> from BmpIoLib.c. Probably these are also not needed on other systems.