diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-01-05 19:12:28 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:19:04 +0800 |
commit | 0ab5705d4c6c4c25b9dacfeb59989440c2ad51a6 (patch) | |
tree | 4fc559bbceab3c16a677ae4782a8b1a3fc91ea08 /net-mgmt | |
parent | 2bd3b47f70508fe0e764490b196e753f5686b67a (diff) | |
download | freebsd-ports-gnome-0ab5705d4c6c4c25b9dacfeb59989440c2ad51a6.tar.gz freebsd-ports-gnome-0ab5705d4c6c4c25b9dacfeb59989440c2ad51a6.tar.zst freebsd-ports-gnome-0ab5705d4c6c4c25b9dacfeb59989440c2ad51a6.zip |
graphics/libraw: unbreak build with Clang 6 (C++14 by default)
In file included from src/libraw_cxx.cpp:5472:
src/../internal/libraw_x3f.cpp:1404:19: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:19: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:26: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:26: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:33: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:33: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
Reported by: antoine (via bug 224669)
Obtained from: upstream
Diffstat (limited to 'net-mgmt')
0 files changed, 0 insertions, 0 deletions