Skip to content

Commit

Permalink
Add GCC 4.4 to compilers that did not support defaulted rvalue refs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Beman committed Sep 11, 2015
1 parent 4f0afc3 commit 2d40352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/boost/filesystem/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
// BOOST_FILESYSTEM_NO_CXX11_DEFAULTED_RVALUE_REFS -----------------------------------//

# if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) \
|| (defined(_MSC_VER) && _MSC_VER==1800) // =default fails for msvc 14.0 rvalue refs
|| (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 4 && \
defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && _MSC_VER==1800)
# define BOOST_FILESYSTEM_NO_CXX11_DEFAULTED_RVALUE_REFS
# endif

Expand Down

0 comments on commit 2d40352

Please sign in to comment.