K 10 svn:author V 6 jbeich K 8 svn:date V 27 2018-01-20T17:47:16.295464Z K 7 svn:log V 1404 games/bombherman: unbreak build with Clang 6 (C++14 by default) display/display.cpp:371:17: error: non-constant-expression cannot be narrowed from type 'Uint16' (aka 'unsigned short') to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect r = { x, y, w, h }; ^ display/display.cpp:371:17: note: insert an explicit cast to silence this issue SDL_Rect r = { x, y, w, h }; ^ static_cast( ) display/display.cpp:391:48: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] TTF_Font * fontTitle = TTF_OpenFont(DATADIR"/"FONT_FILE, (height / fSize)); ^ display/display.cpp:560:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] ( ( dh.w - sSize ) / dp.w ) + ( i * dh.x ), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display/display.cpp:583:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] wText, ^~~~~ [...] Reported by: pkg-fallout END