You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. SVN r695
2. compile simple test attached
3. io_new/detail/path_spec.hpp fails compilation with:
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/detail/path_spec.hpp:23:20: fatal error: malloc.h: No such file or
directory
compilation terminated.
What is the expected output? What do you see instead?
Compilation should be fine
What version of the product are you using? On what operating system?
SVN r695, Mac OS X 10.6.7, several compilers: GCC 4.2, GCC 4.6, Clang 2.9,
Clang 3.0
Please provide any additional information below.
On Mac OS X, malloc.h is considered a deprecated header. For more info,
http://hintsforums.macworld.com/showthread.php?t=2023
Original issue reported on code.google.com by [email protected] on 21 Apr 2012 at 7:15
Possible patch.
However, after this patch, I receive this error:
GCC 4.5:
In file included from
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/formats/tiff/read.hpp:50,
from /Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io_new/tiff_read.hpp:26,
from /Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io_new/tiff_all.hpp:22,
from /Users/Davide/Luminance/gitroot/libhdr/test/test_gil.cpp:3:
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/detail/row_buffer_helper.hpp:120: error: template argument 2 is invalid
make[2]: *** [test/CMakeFiles/test_gil.dir/test_gil.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/test_gil.dir/all] Error 2
make: *** [all] Error 2
Clang (more descriptive):
In file included from
/Users/Davide/Luminance/gitroot/libhdr/test/test_gil.cpp:3:
In file included from
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/tiff_all.hpp:22:
In file included from
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/tiff_read.hpp:26:
In file included from
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/formats/tiff/read.hpp:50:
/Users/Davide/Luminance/gil-contributions-read-only/gil_2/boost/gil/extension/io
_new/detail/row_buffer_helper.hpp:116:36: error: expected a qualified name after
'typename'
, typename enable_if< typename mpl::and_< typename is_bit_aligned< Pixel >::type
^
1 error generated.
make[2]: *** [test/CMakeFiles/test_gil.dir/test_gil.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/test_gil.dir/all] Error 2
make: *** [all] Error 2
Original issue reported on code.google.com by
[email protected]
on 21 Apr 2012 at 7:15Attachments:
The text was updated successfully, but these errors were encountered: