Skip to content

Commit

Permalink
Defines BOOST_SYSTEM_NO_DEPRECATED.
Browse files Browse the repository at this point in the history
- fixes boost::system::throws multiple definition issue in mpicbg-scicomp#145
  • Loading branch information
Matthias Werner authored and Matthias Werner committed Jun 21, 2019
1 parent 6a39acb commit e55137a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inc/core/types.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef TYPES_HPP_
#define TYPES_HPP_

// https://github.com/mpicbg-scicomp/gearshifft/issues/145
#include <boost/predef.h>
#if BOOST_VERSION < 106600
#define BOOST_SYSTEM_NO_DEPRECATED
#endif

#include "complex-half.hpp"

#include <boost/mpl/list.hpp>
Expand Down

0 comments on commit e55137a

Please sign in to comment.