[MacPorts] #70583: nnn build fails on 10.8: src/nnn.c:421:9: error: use of undeclared identifier 'max_align_t' alignas(max_align_t) static context g_ctx[CTX_MAX];
MacPorts
noreply at macports.org
Sun Aug 18 20:06:43 UTC 2024
#70583: nnn build fails on 10.8: src/nnn.c:421:9: error: use of undeclared
identifier 'max_align_t' alignas(max_align_t) static context
g_ctx[CTX_MAX];
--------------------------+---------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: mountainlion | Port: nnn
--------------------------+---------------------------------
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_nnn/nnn/work/compwrap/cc/usr/bin/clang
-isystem/opt/local/include/LegacySupport -I/opt/local/include -DPCRE -Os
-arch x86_64 -std=c11 -Wall -Wextra -Wshadow -D_DARWIN_C_SOURCE
-DNCURSES_WIDECHAR -Wl,-headerpad_max_install_names -L/opt/local/lib
-lMacportsLegacySupport -arch x86_64 -o nnn src/nnn.c -lreadline -lpcre
-L/opt/local/lib -Wl,-search_paths_first -lncurses -lpthread
src/nnn.c:421:9: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static context g_ctx[CTX_MAX];
^
src/nnn.c:503:9: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static char g_buf[CMD_LEN_MAX];
^
src/nnn.c:506:9: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static char g_sel[PATH_MAX];
^
src/nnn.c:509:9: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static char g_tmpfpath[TMP_LEN_MAX];
^
src/nnn.c:512:9: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static char g_pipepath[TMP_LEN_MAX];
^
src/nnn.c:2907:10: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) static const int8_t result_type[] = {
^
src/nnn.c:3187:50: warning: missing field 'filter' initializer [-Wmissing-
field-initializers]
struct kevent event_data[NUM_EVENT_SLOTS] = {0};
^
src/nnn.c:3187:49: warning: suggest braces around initialization of
subobject [-Wmissing-braces]
struct kevent event_data[NUM_EVENT_SLOTS] = {0};
^
{}
src/nnn.c:3340:10: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) wchar_t wln[REGEX_MAX];
^
src/nnn.c:4312:30: warning: missing field 'pathln' initializer [-Wmissing-
field-initializers]
session_header_t header = {0};
^
src/nnn.c:6725:10: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) char newpath[PATH_MAX];
^
src/nnn.c:6726:10: error: use of undeclared identifier 'max_align_t'
alignas(max_align_t) char runfile[NAME_MAX + 1];
^
src/nnn.c:6737:19: warning: missing field 'x' initializer [-Wmissing-
field-initializers]
MEVENT event = {0};
^
4 warnings and 9 errors generated.
make: *** [nnn] Error 1
}}}
https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/188482/steps
/install-port/logs/stdio
--
Ticket URL: <https://trac.macports.org/ticket/70583>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list