[MacPorts] #68320: warning: a function declaration without a prototype is deprecated in all versions of C
MacPorts
noreply at macports.org
Sun Oct 1 20:52:34 UTC 2023
#68320: warning: a function declaration without a prototype is deprecated in all
versions of C
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.8.99
Keywords: ventura | Port:
------------------------+--------------------
[https://build.macports.org/builders/base-
13_arm64/builds/50/steps/test/logs/stdio Running the MacPorts base tests
on Ventura] reminds us of a number of problems:
{{{
tests/empty.c:1:9: warning: a function declaration without a prototype is
deprecated in all versions of C [-Wstrict-prototypes]
void foo() {}
^
void
}}}
{{{
tests/libmachista-test.c:347:9: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
int main() {
^
void
}}}
{{{
./../darwintrace.h:98:25: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
void __darwintrace_setup();
^
void
./../darwintrace.h:106:25: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
void __darwintrace_close();
^
void
./../darwintrace.h:176:39: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
static inline FILE *__darwintrace_sock() {
^
void
./../darwintrace.h:195:29: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
void __darwintrace_setup_tls();
^
void
./../darwintrace.h:200:29: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
void __darwintrace_store_env();
^
void
./../darwintrace.h:207:36: warning: a function declaration without a
prototype is deprecated in all versions of C [-Wstrict-prototypes]
void __darwintrace_run_constructors() __attribute__((constructor));
^
void
6 warnings generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68320>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list