Bug report
Bug description:
Configuration:
configure-output.txt
./configure CC=clang LD=clang --disable-ipv6
Build:
Output:
clang -pthread -fno-strict-overflow -I/usr/pkg/include -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -O2 -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -c ./Modules/_ctypes/callproc.c -o Modules/_ctypes/callproc.o
--- Modules/socketmodule.o ---
./Modules/socketmodule.c:2262:13: error: fallthrough annotation does not directly precede switch label
2262 | _Py_FALLTHROUGH;
| ^
./Include/pyport.h:635:27: note: expanded from macro '_Py_FALLTHROUGH'
635 | # define _Py_FALLTHROUGH __attribute__((fallthrough))
| ^
--- Modules/_ctypes/stgdict.o ---
clang -pthread -fno-strict-overflow -I/usr/pkg/include -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -O2 -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -c ./Modules/_ctypes/stgdict.c -o Modules/_ctypes/stgdict.o
--- Modules/socketmodule.o ---
1 error generated.
--- Modules/_ctypes/cfield.o ---
clang -pthread -fno-strict-overflow -I/usr/pkg/include -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -O2 -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -c ./Modules/_ctypes/cfield.c -o Modules/_ctypes/cfield.o
--- Modules/socketmodule.o ---
*** [Modules/socketmodule.o] Error code 1
make: stopped in /home/blue/cpython
1 error
make: stopped in /home/blue/cpython
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
Bug report
Bug description:
Configuration:
configure-output.txt
Build:
Output:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs