Re: [Boost-bugs] [Boost C++ Libraries] #4431: stdint.h not available in CUDA nvcc + visual studio

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4431: stdint.h not available in CUDA nvcc + visual studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-18 18:29:47


#4431: stdint.h not available in CUDA nvcc + visual studio
------------------------------------------------+---------------------------
  Reporter: Sergey Mitsyn <svm@…> | Owner: jfalcou
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: concept_check
   Version: Boost 1.43.0 | Severity: Problem
Resolution: | Keywords: CUDA nvcc stdint.h
------------------------------------------------+---------------------------

Comment (by anonymous):

>Hold on though, if I am not mistaken #define'ing
 BOOST_NO_INCLASS_MEMBER_INITIALIZATION _dis_allows initialization
 inlining, so therefore having the #define in nvcc.hpp is wrong, and
 putting it inside a #ifdef _MSC_VER prevents it for nvcc on Windows, so in
 fact allows inline initialization.

 It would have to be inside an #ifndef _MSC_VER block? But I see this
 comment in the header file:

 // NVCC Basically behaves like some flavor of MSVC6 + some specific quirks

 Which suggests inline initialization is *not* supported?

 Confused yours, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4431#comment:12>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC