[New-bugs-announce] [issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

Sanyam Khurana report at bugs.python.org
Sat Dec 2 07:50:00 EST 2017


New submission from Sanyam Khurana <sanyam.khurana01 at gmail.com>:

The current master branch at commit af5a895073c24637c094772b27526b94a12ec897

fails while building the interpreter.

The following is the traceback while running `make` after `./configure --with-pydebug`

gcc -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration   -I. -I./Include    -DPy_BUILD_CORE -o Modules/main.o Modules/main.c
Modules/main.c:904:20: error: expected expression
            return SET_DECODE_ERROR("PYTHONEXECUTABLE environment "
                   ^
Modules/main.c:46:5: note: expanded from macro 'SET_DECODE_ERROR'
    do { \
    ^
1 error generated.
make: *** [Modules/main.o] Error 1

----------
messages: 307427
nosy: CuriousLearner
priority: normal
severity: normal
status: open
title: Compiling against master branch fails; error: expected expression SET_DECODE_ERROR
type: crash
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32197>
_______________________________________


More information about the New-bugs-announce mailing list