Opened 4 years ago
Closed 4 years ago
#61897 closed defect (fixed)
tcl @8.6.10_0 +corefoundation +threads : configure tests failing with "implicitly declaring ... function" error
Reported by: | lmhaffner | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | |
Port: | tcl |
Description
A number of tests in configure
are failing as this warning seems to have been elevated to an error in macOS 11.x/XCode 12.3(?). One example from the attached config.log
:
conftest.c:26:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimp licit-function-declaration] exit(2); ^ conftest.c:26:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 error generated.
In some cases, this prevents an expected success (e.g., strtoul
implementation testing) and is leading to odd errors downstream (e.g., tclx
compilation failing due to a missing symbol in libtclstub8.6.a
).
Attachments (1)
Change History (3)
Changed 4 years ago by lmhaffner
Attachment: | config.log added |
---|
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to MarcusCalhoun-Lopez |
---|---|
Status: | new → assigned |
I wasn't sure how much of that also applied to 8.6.10.
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
config.log