8000 Collectd 5.7.1 AIX 7.2 gcc 4.9.4 · Issue #2305 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Collectd 5.7.1 AIX 7.2 gcc 4.9.4 #2305
Closed
@Michael1859

Description

@Michael1859

Compilation produces errors:
CC ipc.lo
ipc.c: In function 'ipc_read_shm':
ipc.c:261:26: error: initialization makes integer from pointer without a cast [-Werror]
for (int i = 0, pshm = ipcinfo_shm; i < n; i++, pshm++) {
^
ipc.c:263:22: error: invalid type argument of '->' (have 'int')
shm_bytes += pshm->shm_segsz;
^
ipc.c:251:18: error: unused variable 'pshm' [-Werror=unused-variable]
ipcinfo_shm_t *pshm;
^
cc1: all warnings being treated as errors
make: 1254-004 The error code from the last command is 1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0