Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
SCsub | Loading commit data... | |
compression.cpp | Loading commit data... | |
compression.h | Loading commit data... | |
config_file.cpp | Loading commit data... | |
config_file.h | Loading commit data... | |
file_access_buffered.cpp | Loading commit data... | |
file_access_buffered.h | Loading commit data... | |
file_access_buffered_fa.h | Loading commit data... | |
file_access_compressed.cpp | Loading commit data... | |
file_access_compressed.h | Loading commit data... | |
file_access_encrypted.cpp | Loading commit data... | |
file_access_encrypted.h | Loading commit data... | |
file_access_memory.cpp | Loading commit data... | |
file_access_memory.h | Loading commit data... | |
file_access_network.cpp | Loading commit data... | |
file_access_network.h | Loading commit data... | |
file_access_pack.cpp | Loading commit data... | |
file_access_pack.h | Loading commit data... | |
file_access_zip.cpp | Loading commit data... | |
file_access_zip.h | Loading commit data... | |
http_client.cpp | Loading commit data... | |
http_client.h | Loading commit data... | |
image_loader.cpp | Loading commit data... | |
image_loader.h | Loading commit data... | |
ip.cpp | Loading commit data... | |
ip.h | Loading commit data... | |
ip_address.cpp | Loading commit data... | |
ip_address.h | Loading commit data... | |
json.cpp | Loading commit data... | |
json.h | Loading commit data... | |
logger.cpp | Loading commit data... | |
logger.h | Loading commit data... | |
marshalls.cpp | Loading commit data... | |
marshalls.h | Loading commit data... | |
multiplayer_api.cpp | Loading commit data... | |
multiplayer_api.h | Loading commit data... | |
net_socket.cpp | Loading commit data... | |
net_socket.h | Loading commit data... | |
networked_multiplayer_peer.cpp | Loading commit data... | |
networked_multiplayer_peer.h | Loading commit data... | |
packet_peer.cpp | Loading commit data... | |
packet_peer.h | Loading commit data... | |
packet_peer_udp.cpp | Loading commit data... | |
packet_peer_udp.h | Loading commit data... | |
pck_packer.cpp | Loading commit data... | |
pck_packer.h | Loading commit data... | |
resource_format_binary.cpp | Loading commit data... | |
resource_format_binary.h | Loading commit data... | |
resource_importer.cpp | Loading commit data... | |
resource_importer.h | Loading commit data... | |
resource_loader.cpp | Loading commit data... | |
resource_loader.h | Loading commit data... | |
resource_saver.cpp | Loading commit data... | |
resource_saver.h | Loading commit data... | |
stream_peer.cpp | Loading commit data... | |
stream_peer.h | Loading commit data... | |
stream_peer_ssl.cpp | Loading commit data... | |
stream_peer_ssl.h | Loading commit data... | |
stream_peer_tcp.cpp | Loading commit data... | |
stream_peer_tcp.h | Loading commit data... | |
tcp_server.cpp | Loading commit data... | |
tcp_server.h | Loading commit data... | |
translation_loader_po.cpp | Loading commit data... | |
translation_loader_po.h | Loading commit data... | |
xml_parser.cpp | Loading commit data... | |
xml_parser.h | Loading commit data... | |
zip_io.cpp | Loading commit data... | |
zip_io.h | Loading commit data... |