Project

General

Profile

Actions

Bug #14384

open

libsocket: mismatched bound

Added by Toomas Soome 9 days ago. Updated 9 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error with gcc 11:

../socket/socketpair.c:88:60: error: argument 4 of type 'int[2]' with mismatched bound [-Werror=array-parameter=]
   88 | _socketpair_create(int family, int type, int protocol, int sv[2], int version)
      |                                                        ~~~~^~~~~
../socket/socketpair.c:54:39: note: previously declared as 'int *'
   54 | int _socketpair_create(int, int, int, int*, int);
      |                                       ^~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk 9 days ago

  • Gerrit CR set to 1931
Actions #2

Updated by Toomas Soome 9 days ago

  • Subject changed from libsockt: mismatched bound to libsocket: mismatched bound
Actions

Also available in: Atom PDF