Project

General

Profile

Actions

Bug #6162

open

master build failure with clang-16

Added by Hoernchen 8 months ago. Updated 6 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/31/2023
Due date:
% Done:

0%

Spec Reference:
Tags:

Description

  CC       osmo_io_uring.lo
osmo_io_uring.c:324:29: error: incompatible pointer to integer conversion passing 'void *' to parameter of type '__u64' (aka 'unsigned long long') [-Wint-conversion]
  324 |                 io_uring_prep_cancel(sqe, iofd->u.uring.read_msghdr, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/liburing.h:542:12: note: passing argument to parameter 'user_data' here
  542 |                                         __u64 user_data, int flags)
      |                                               ^
osmo_io_uring.c:332:29: error: incompatible pointer to integer conversion passing 'void *' to parameter of type '__u64' (aka 'unsigned long long') [-Wint-conversion]
  332 |                 io_uring_prep_cancel(sqe, iofd->u.uring.write_msghdr, 0);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/liburing.h:542:12: note: passing argument to parameter 'user_data' here
  542 |                                         __u64 user_data, int flags)
      |                                               ^
2 errors generated.
make[4]: *** [Makefile:714: osmo_io
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)