The following examples can be compiled by clang++ since the scalar '1' is automatically propagated to uchar4, however, this is not the case when compiling with g++:
BoundaryCondition<uchar4> BcInConst2(IN, size_x, size_y, BOUNDARY_CONSTANT, '1');</uchar4>
This works in recent g++ versions (tested 5.4.0 and 6.2.1).
New syntax: