freebsd-ports/games/CaribbeanStud
Jan Beich a567135c93 games/CaribbeanStud: unbreak build with Clang 6 (C++14 by default)
In file included from Seat.cpp:37:
./Bitmaps.h:47:46: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
                                             ^~~~
./Bitmaps.h:47:46: note: insert an explicit cast to silence this issue
0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
                                             ^~~~
                                             static_cast<char>( )
Seat.cpp:256:18: error: no matching function for call to 'XCreateBitmapFromData'
      s_map[i] = XCreateBitmapFromData(_dpy,
                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:1604:15: note: candidate function not viable: no known conversion from
      'const unsigned char [2018]' to 'const char *' for 3rd argument
extern Pixmap XCreateBitmapFromData(
              ^

Reported by:	pkg-fallout
2018-01-20 17:45:32 +00:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist