cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations sys_shm/struct-shmid_ds-shm_cpid.c -o sys_shm/struct-shmid_ds-shm_cpid -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lcrypt -latomic sys_shm/struct-shmid_ds-shm_cpid.c: In function ‘foo’: sys_shm/struct-shmid_ds-shm_cpid.c:10:22: error: initialization of ‘pid_t *’ {aka ‘int *’} from incompatible pointer type ‘__ipc_pid_t *’ {aka ‘short unsigned int *’} [-Werror=incompatible-pointer-types] 10 | pid_t *qux = &bar->shm_cpid; | ^ cc1: all warnings being treated as errors