[New-bugs-announce] [issue28277] ./Modules/_io/_iomodule.c build failure on AIX (beta1) while (a2) was fine.

Michael Felt report at bugs.python.org
Mon Sep 26 08:03:10 EDT 2016


New submission from Michael Felt:

Python-3.6.0.a2 (a2 == 162)

root at x064:[/data/prj/python/python-3.6.0.162]xlc  -DNDEBUG -O -I/opt/include -qmaxmem=-1 -qarch=pwr4 -O3 -I/opt/buildaix/includes -O     -I. -IInclude -I./Include -I/opt/include -I/opt/buildaix/inclu
de   -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/_iomodule.c -o Modules/_iomodule.o
root at x064:[/data/prj/python/python-3.6.0.162]
** Notice no messges - while:

root at x064:[/data/prj/python/python-3.6.0.177]xlc  -DNDEBUG -O -I/opt/include -qmaxmem=-1 -qarch=pwr4 -O3 -I/opt/buildaix/includes -O     -I. -IInclude -I./Include -I/opt/include ->
"./Modules/_io/_iomodule.h", line 156.2: 1506-766 (S) The universal character name "
" is not in the allowable range for an identifier.
"./Modules/_io/_iomodule.c", line 804.2: 1506-198 (S) #if, #else, #elif, #ifdef, #ifndef block must be ended with #endif.
root at x064:[/data/prj/python/python-3.6.0.177]

Looks to be a simple typo on line 156 - #endif^L is not seen as #endif by XLC.

  +154  #ifdef MS_WINDOWS
  +155  extern char _PyIO_get_console_type(PyObject *);
  +156  #endif^L

Once I remove the "formfeed" character, as is well again.

----------
components: Build
messages: 277412
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: ./Modules/_io/_iomodule.c build failure on AIX (beta1) while (a2) was fine.
type: compile error
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28277>
_______________________________________


More information about the New-bugs-announce mailing list