New submission from Clint Allen <clint.al...@ni.com>:

The build of this module fails with this error:


In file included from /usr/include/limits.h:12:0,
                 from 
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/limits.h:168,
                 from 
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/syslimits.h:7,
                 from 
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/limits.h:34,
                 from Include/Python.h:19,
                 from 
/opt/apps/salt-build/Python-2.7.15/Modules/_multiprocessing/multiprocessing.h:12,
                 from 
/opt/apps/salt-build/Python-2.7.15/Modules/_multiprocessing/multiprocessing.c:9:
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/sys/feature_tests.h:363:2:
 error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications 
       and pre-2001 POSIX applications"


Changing the value of _XOPEN_SOURCE from 500 to 600 in 
Modules/_multiprocessing/multiprocessing.h fixes it.

----------
components: Extension Modules
messages: 321364
nosy: clallen
priority: normal
severity: normal
status: open
title: Multiprocessing module fails to build on Solaris 11.3
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to