[LTP] [PATCH] openposix: Fix the dummy declaration for `lio_listio`
Petr Vorel
pvorel@suse.cz
Fri Dec 20 13:10:29 CET 2024
Hi Ma Xinjian,
> The second parameter should be "struct aiocb *const [restrict]" instead
> of "struct aiocb *restrict const [restrict]" based on the header file "aio.h".
> For "struct aiocb *restrict const [restrict]", it will report "-Wincompatible-pointer-types"
> issue while compiling:
> - With gcc 11.5.0, it's a warning issue.
> - With gcc 14.2.0, it becomes an error.
Thanks, merged!
Kind regards,
Petr
More information about the ltp
mailing list