Barry A. Warsaw <[email protected]> added the comment:
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv
-O3 -Wall -v -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter
-Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declaration -I. -I./Include -DPy_BUILD_CORE -c
./Modules/posixmodule.c -o Modules/posixmodule.o
Apple LLVM version 10.0.0 (clang-1000.11.45.2)
Target: x86_64-apple-darwin18.0.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
-cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name posixmodule.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim
-fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=4
-debugger-tuning=lldb -target-linker-version 409.12 -v -coverage-notes-file
/Users/bwarsaw/projects/python/cpython/Modules/posixmodule.gcno -resource-dir
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0
-D NDEBUG -I . -I ./Include -D Py_BUILD_CORE -O3 -Wno-unused-result
-Wsign-compare -Wunreachable-code -Wall -Wextra -Wno-unused-result
-Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declar
ation -std=c99 -fdebug-compilation-dir /Users/bwarsaw/projects/python/cpython
-ferror-limit 19 -fmessage-length 131 -fwrapv -stack-protector 1 -fblocks
-fencode-extended-block-signature -fobjc-runtime=macosx-10.14.0
-fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp
-o Modules/posixmodule.o -x c ./Modules/posixmodule.c
clang -cc1 version 10.0.0 (clang-1000.11.45.2) default target
x86_64-apple-darwin18.0.0
#include "..." search starts here:
#include <...> search starts here:
.
./Include
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
./Modules/posixmodule.c:1254:9: warning: code will never be executed
[-Wunreachable-code]
PyErr_SetFromErrno(PyExc_OSError);
^~~~~~~~~~~~~~~~~~
1 warning generated.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35070>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com