On 6/4/2013 13:26, Shane Ambler wrote:
As the port maintainer of graphics/openimageio I have come across a
change when building with gcc48.
The current version of openimageio compiles fine with clang gcc and
gcc46, but when compiled with gcc48 the unlink function is not defined.
The simple solution is to add #include <unistd.h> to the source file
but why is this only needed for gcc48? Is this an intended change?
I'm pretty sure this is not new for gcc48.
This behavior is seen with gcc47 too.
unistd.h is a big culprit, string.h, <cstring>, etc, also frequently
need to be added to older codebases. Yeah, I don't think it's
accidental. :)
John
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"