Opened 5 years ago

Last modified 4 years ago

#13447 new Feature Requests

BOOST_PP_VARIADICS should be 1 for NVCC

Reported by: Alexander Matthes <a.matthes@…> 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 Alexander Matthes <a.matthes@…>, 5 years ago

Summary: BOOST_PP_VARIADIC should be 1 for NVCCBOOST_PP_VARIADICS should be 1 for NVCC

comment:2 by Alexander Matthes <a.matthes@…>, 5 years ago

I just realized I made a typo, of course I am speaking about the macro BOOST_PP_VARIADICS. -_-

comment:3 by Kohei Takahashi, 5 years ago

Component: Nonepreprocessor
Owner: set to No-Maintainer

comment:4 by Marshall Clow, 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 Edward Diener, 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.

Last edited 4 years ago by Edward Diener (previous) (diff)
Note: See TracTickets for help on using tickets.