I think its just a compiler “feature” that is not supported currently. If you would like to see a change in CUDA, you can file a bug.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Does nvcc precompile C++ headers? | 9 | 10078 | April 16, 2013 | |
--host-compilation not obeyed nvcc compiling source as C++ when I want it to compile C | 4 | 23242 | January 9, 2012 | |
How to use nvcc? | 9 | 37968 | November 12, 2009 | |
Possible nvcc problem on my system | 6 | 2631 | December 7, 2010 | |
nvcc C++ compilation fails | 5 | 15487 | November 24, 2008 | |
first install of cuda | 6 | 7654 | February 12, 2017 | |
nvcc: Compilation error in case of protected ctor | 2 | 1032 | November 10, 2017 | |
Does NVCC include header files automatically? | 5 | 9774 | December 5, 2022 | |
CUDA & the stl | 4 | 10234 | June 1, 2007 | |
nvcc preprocessing | 9 | 2893 | September 10, 2018 |