Opened 5 months ago
Last modified 5 months ago
#73309 new defect
graphviz-devel @14.0.4: error: expected parameter declarator
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.6 |
| Keywords: | lion mountainlion mavericks yosemite | Cc: | Dave-Allured (Dave Allured) |
| Port: | graphviz-devel |
Description
See buildbot logs at https://ports.macports.org/port/graphviz-devel/details/
In file included from tred.c:30:
../../lib/util/list.h:47:5: error: expected parameter declarator
offsetof(list_t_, base) == 0,
^
/opt/local/libexec/llvm-16/lib/clang/16/include/stddef.h:111:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^
In file included from tred.c:30:
../../lib/util/list.h:47:5: error: expected ')'
/opt/local/libexec/llvm-16/lib/clang/16/include/stddef.h:111:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^
../../lib/util/list.h:46:14: note: to match this '('
static_assert(
^
../../lib/util/list.h:46:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static_assert(
^
int
../../lib/util/list.h:46:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
static_assert(
^
tred.c:192:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
infosize = (agnnodes(g) + 1) * sizeof(nodeinfo_t);
~~~~~~~~~~~~^~~ ~
2 warnings and 3 errors generated.
Change History (2)
comment:1 Changed 5 months ago by Dave-Allured (Dave Allured)
comment:2 Changed 5 months ago by Dave-Allured (Dave Allured)
Now that PR is merged, and graphviz-devel is updated to 14.1.0. It gets the same errors as last time, on 10.7, 10.8, 10.9, and 10.10. Type specifier missing, etc.
I will review as time permits. Assistance is welcome, as always.
Note: See
TracTickets for help on using
tickets.

Please test the latest upstream version.
https://github.com/macports/macports-ports/pull/30333