Subject: [boost] [gil::io] Compilation issue
From: Christian Henning (chhenning_at_[hidden])
Date: 2017-07-03 20:57:31


Hi all,

my metaprogramming zen is failing me and I like to ask for some help.

Using gil's updated develop branch the following code creates a compilation
error with Visual Studio 2015 Update 3.

#include <boost/gil/extension/io/tiff_all.hpp>

using namespace std;
using namespace boost;
using namespace gil;

int main()
{
gray1_image_t img;
write_view( "", view( img ), tiff_tag() );

return 0;
}

The compiler output is here:

https://pastebin.com/raw/d1AB9QMz

I think the error is in
https://github.com/boostorg/gil/blob/develop/include/boost/gil/premultiply.hpp#L29

but I'm not sure what to do.

Any help would be very helpful!

Thanks,
Christian