Subject: Re: [boost] [config] BOOST_NOINLINE on nvcc
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-01-22 00:28:29
On Wed, Jan 22, 2014 at 3:30 AM, Mathias Gaunard
> I noticed that I had some problems with some nvcc (NVIDIA CUDA) versions and
> The logic for defining BOOST_NOINLINE seems to be the same as that of
> BOOST_FORCEINLINE, which does work correctly, so it seems to be a nvcc bug
> that's not fully compatible with GCC despite claiming to be.
> What would be the correct way to fix that?
I suppose, you could just add:
to boost/config/compiler/nvcc.hpp, with a descriptive comment. When
the macro is defined in the compiler's config, it won't be defined by
How does the problem manifest itself though?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk