[issue11191] test_search_cpp error on AIX (with xlc)

Michael Felt report at bugs.python.org
Thu Oct 4 06:47:55 EDT 2018


Michael Felt <aixtools at felt.demon.nl> added the comment:

The current PR8709 resolves two issues, not one - so will create a new issue for the second element.

Am also shorting the NEWS text, with the expanded explanation here as:

* skip the distutils test 'test_search_cpp' when not gcc as compiler
  because not all compilers, e.g. IBM xlc et al do not support
  redirected stdout when using the argument -E (aka cpp_preprocessing)
  while gcc is know to support the pair -E -o outputfile

The additional find while researching this issue:
* add the argument '-C' for AIX xlc cpp processing so comments are
    included in the cpp output rather than replaced by a single ' ' (space) char.

----------

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


More information about the Python-bugs-list mailing list