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-17 19:40:21


#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
------------------------------------------------+---------------------------
Changes (by sven.prevrhal@…):

  * component: config => concept_check

Comment:

 I found a compliant stdint.h for my MSVC 9.0 compiler at
 http://msinttypes.googlecode.com/.svn/trunk/stdint.h , put this in the
 path, still didn't work, nvcc complaining about enumeration value is out
 of "int" range in the boost generic traits header. What worked was to
 undefine BOOST_NO_INCLASS_MEMBER_INITIALIZATION in
 config/compiler/nvcc.hpp (read some similar issue with this resolution in
 a different ticket). As a patch, I am proposing to wrap #define
 BOOST_NO_INCLASS_MEMBER_INITIALIZATION -

 #ifndef _MSC_VER
 #define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
 #endif

 if it's indeed only a Windows problem.
 Sven

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4431#comment:8>
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