Opened 10 years ago
Last modified 10 years ago
#8394 new Bugs
py_environment.cpp "list" is ambiguous
Reported by: | Owned by: | Ralf W. Grosse-Kunstleve | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I'm seeing the following using PGI 12.2 on Cray Linux 4 (SuSE 11 derivative):
"CC" -INLINE:none --gnu -Kieee -fpic -fPIC -gopt -Minform=warn -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_DYN_LINK=1 -DBOOST_MPI_PYTHON_DYN_LINK=1 -DBOOST_PYTHON_DYN_LINK=1 -D__need_IOV_MAX -I"." -I"/apps_hpc/epd/default/include/python2.7" -c -o "bin.v2/libs/mpi/build/pgi/debug/boost.locale.icu-off/python/py_environment.o" "libs/mpi/src/python/py_environment.cpp" "/apps_hpc/epd/default/include/python2.7/pyfpe.h", line 8: warning: white space between backslash and newline in line splice ignored / Copyright (c) 1996. \ ^ "libs/mpi/src/python/py_environment.cpp", line 34: error: "list" is ambiguous bool mpi_init(list python_argv, bool abort_on_exception) ^ "libs/mpi/src/python/py_environment.cpp", line 82: error: "list" is ambiguous mpi_init(extract<list>(sys.attr("argv")), true); ^ 2 errors detected in the compilation of "libs/mpi/src/python/py_environment.cpp".
Not concerned about the warning from my header (didn't want to edit it out though), but it looks to me like maybe one of the other list classes has found it's way into the namespace?
These particuliar builds were bootstrapped and run with
./bootstrap.sh --without-icu --with-libraries=mpi,graph_parallel,python --with-python=##EDITED## --with-python-root=##EDITED## --with-python-version=2.7 --with-toolset=pgi ./b2 -d0 -d+2 -j32 --debug-configuration --disable-icu boost.locale.icu=off -sNO_BZIP2=1 --build-type=complete --layout=tagged threading=single variant=debug toolset=pgi install
Attachments (1)
Change History (2)
comment:1 by , 10 years ago
by , 10 years ago
Attachment: | boost_1_53_0-cray2.diff.txt added |
---|
This diff resolved the issue for me. Also appears to work fine with the other compilers available to me.
Note:
See TracTickets
for help on using tickets.
Could you try to make it work by inserting ::boost:::python:: and then send me the patch?