-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbreak IO extensions on BSDs (1.68 regression) #119
Conversation
In file included from /usr/local/include/boost/gil/extension/io/png/read.hpp:29: In file included from /usr/local/include/boost/gil/io/get_reader.hpp:22: In file included from /usr/local/include/boost/gil/io/get_read_device.hpp:26: In file included from /usr/local/include/boost/gil/io/path_spec.hpp:23: /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
Windows appears to have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jbeich Thanks! Next, we shall watch the regression tests if this does not cause any issues Once that's confirmed, we may still have time to merge it into master for release with Boost 1.68 (/cc @stefanseefeld ) |
How to filter out expected (i.e., pre-existing) fallout? Some |
Ah, this is hilarious. https://www.boost.org/development/tests/develop/developer/gil-io.html has been showing bustage on FreeBSD but no one payed an attention. |
or to be a little less harsh: no-one with either FreeBSD experience or a suitable system to test locally is available. Read: your contributions would be very much appreciated ! :-) |
Indeed, in a team of three, there is never enough man power! @jbeich I confess, proposing to watch the regression tests, I failed to check them myself. |
alloca
is defined in<stdlib.h>
even on Linux (see Notes on the GNU version). FreeBSD, DragonFly, OpenBSD don't support<malloc.h>
while GNU libc uses<malloc.h>
for non-standard extensions:malloc_usable_size
,mallinfo
,memalign
,pvalloc
, etc. FreeBSD (but not other BSDs) also supports non-standard extensions:malloc_usable_size
,mallctl*
,*allocx
, etc.