Код: Выделить всё
Clang-Tidy: Uninitialized record type: 'server_address'Код: Выделить всё
#include
#include
#include
#include
int main() {
const int server_socket = socket(AF_INET, SOCK_STREAM, 0);
if (server_socket == -1) {
std::cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/79087457/clang-tidy-uninitialized-record-type[/url]