Source/RakPeer.cpp:157:127: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] static const char OFFLINE_MESSAGE_DATA_ID[16]={0x00,0xFF,0xFF,0x00,0xFE,0xFE,0xFE,0xFE,0xFD,0xFD,0xFD,0xFD,0x12,0x34,0x56,0x78}; ^ Source/RakPeer.cpp:157:127: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing] Source/RakPeer.cpp:157:127: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing]
build log: http://sprunge.us/AOUa
Fix committed, thanks!
A commit references this bug: Author: martymac Date: Mon May 15 10:18:58 UTC 2017 New revision: 440916 URL: https://svnweb.freebsd.org/changeset/ports/440916 Log: Fix build with Gcc 6 PR: 219283 Submitted by: jbeich Changes: head/devel/raknet/files/patch-Source-RakPeer.cpp