[MacPorts] #55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error: void value not ignored as it ought to be
MacPorts
noreply at macports.org
Mon Nov 27 00:04:22 UTC 2017
#55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error:
void value not ignored as it ought to be
------------------------+-----------------------
Reporter: ballapete | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: tiger
Port: cmake |
------------------------+-----------------------
Comment (by ballapete):
In the `pre-processed` output I find
{{{
int setenv(const char *, const char *, int) ;
...
void unsetenv(const char *);
# 260 "/usr/include/stdlib.h" 3 4
}}}
coming from
{{{
int setenv(const char *, const char *, int) __DARWIN_ALIAS(setenv);
...
#if __DARWIN_UNIX03
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
#else /* !__DARWIN_UNIX03 */
void unsetenv(const char *);
#endif /* __DARWIN_UNIX03 */
}}}
in `/usr/include/stdlib.h`. And
`cmake-3.10.0/Utilities/cmlibuv/src/unix/core.c` has
{{{
1280 int uv_os_setenv(const char* name, const char* value) {
1281 if (name == NULL || value == NULL)
1282 return -EINVAL;
1283
1284 if (setenv(name, value, 1) != 0)
1285 return -errno;
1286
1287 return 0;
1288 }
1289
1290
1291 int uv_os_unsetenv(const char* name) {
1292 if (unsetenv(name) != 0)
1293 return -errno;
1294
1295 return 0;
1296 }
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55415#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list