Opened 5 years ago
Last modified 4 years ago
#13447 new Feature Requests
BOOST_PP_VARIADICS should be 1 for NVCC
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | preprocessor |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | preprocessor nvcc cuda | Cc: |
Description
Hi,
I just run into the problem that my boost preprocessor using code was not running because BOOST_PP_VARIADIC
in /boost/preprocessor/config/config.hpp is set to 0 for __CUDACC__
in line 74.
However for my application variadic macros as working great with the nvidia compiler. What is needed to accept the nvidia compiler as tested compiler
as stated in line 73 of the same file?
Change History (5)
comment:1 by , 5 years ago
Summary: | BOOST_PP_VARIADIC should be 1 for NVCC → BOOST_PP_VARIADICS should be 1 for NVCC |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Component: | None → preprocessor |
---|---|
Owner: | set to |
comment:4 by , 5 years ago
I can certainly make such a change, but I have no way to test it. We have no testers running the nvidia compiler.
Created https://github.com/boostorg/preprocessor/pull/12 Feel free to comment there.
comment:5 by , 4 years ago
I made this change and it is now in the latest release but I already have a report in github about a failure with nvcc, which suggests the change should not have been made.
I just realized I made a typo, of course I am speaking about the macro
BOOST_PP_VARIADICS
. -_-