[Boost-bugs] [Boost C++ Libraries] #10190: declval missing in GCC 4.4

Subject: [Boost-bugs] [Boost C++ Libraries] #10190: declval missing in GCC 4.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-11 18:25:35


#10190: declval missing in GCC 4.4
-----------------------------------------+---------------------
 Reporter: Niklas Angare <li51ckf02@…> | Owner: djowel
     Type: Patches | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-----------------------------------------+---------------------
 Many Fusion tests as well as all Boost.MSM tests fail on QNX 6.5.0 in
 C++0x mode because Fusion uses the function std::declval() that GCC 4.4
 doesn't provide.

 Also some numeric/odeint tests such as fusion_algebra and some
 spirit/repository tests such as qi_repo_subrule fail due to this.

 Sample error:
> ../boost/fusion/container/map/map_iterator.hpp:40: error: 'declval' is
 not a member of 'std'

 Full output:
 http://www.boost.org/development/tests/develop/developer/output/NA-
 QNX650-SP1-x86-boost-bin-v2-libs-fusion-test-map-test-qcc-4-4-2_x86-debug-
 debug-symbols-off.html

 The attached patch replaces all uses of std::declval() with
 boost::declval().

 All Fusion tests pass with the patch except those that already failed for
 other reasons (std_tuple_iterator, std_tuple and as_map). All MSM tests
 also pass except those that have always failed for other reasons.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10190>
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:16 UTC