Re: [Boost-bugs] [Boost C++ Libraries] #7328: Boost fails to Build with gccxml / msvc9

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7328: Boost fails to Build with gccxml / msvc9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-05 18:08:15


#7328: Boost fails to Build with gccxml / msvc9
-------------------------------------+--------------------------------------
  Reporter: lomex13@… | Owner:
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+--------------------------------------
Changes (by lomex13@…):

  * type: Support Requests => Feature Requests

Comment:

 I did avoid this Problems by disabling the assertions. Since my gccxml is
 based on gcc 4.2.1, i suspect it should just be added to the compiler
 blacklist at the top of boost/range/concept.hpp, pretty similar to the gcc
 block
 {{
 //after this:
 #ifdef __GNUC__
     // GNUC 4.2 has strange issues correctly detecting compliance with the
 Concepts
     // hence the least disruptive approach is to turn-off the concept
 checking for
     // this version of the compiler.
     #if __GNUC__ == 4 && __GNUC_MINOR__ == 2
         #define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0
     #endif
 #endif

 // add this:
 #ifdef __GCCXML__
     // similar GNUC 4.2 issues for gccxml
     #if __GCCXML_GNUC__ == 4 && __GCCXML_GNUC_MINOR__ == 2
         #define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0
     #endif
 #endif
 }}
 I do have an easy fix for similiar issues in
 iterator/iterator_concepts.hpp, but it can be done with similar
 blacklisting.
 I dont know, however, if this is the right place for workarounds, maybe
 there is a more "central" way to fix this.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7328#comment:1>
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:10 UTC