09-25-2019, 02:02 AM
Did a check for clang 8. Updated my clang and it's version 8.0.1. Got the same errors that @e14 posted
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:231:64: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Channel);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:236:63: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Brand);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:392:64: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_PACKET_READ(a_ByteBuffer, ReadBEInt16, Int16, ItemType);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:401:63: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_PACKET_READ(a_ByteBuffer, ReadBEInt8, Int8, ItemCount);
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:231:64: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Channel);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:236:63: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Brand);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:392:64: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_PACKET_READ(a_ByteBuffer, ReadBEInt16, Int16, ItemType);
^
/home/lukas/cpp/cuberite/src/Protocol/Protocol_1_13.cpp:401:63: error: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
HANDLE_PACKET_READ(a_ByteBuffer, ReadBEInt8, Int8, ItemCount);