lean2/src/util/interval
Soonho Kong 39645390ff chore(util/*): add cstddef header before including gmp.h/mpfr.h
Reference: https://gcc.gnu.org/gcc-4.9/porting_to.html

------

Header <cstddef> changes

The <cstddef> header was updated for C++11 support and this breaks some
libraries which misuse macros meant for internal use by GCC only. For
instance with GMP versions up to 5.1.3, you may see:

/usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not been declared
   using ::max_align_t;
           ^
Another possible error is:

someheader.h:99:13: error: ‘ptrdiff_t’ does not name a type

A workaround until libraries get updated is to include <cstddef> or
<stddef.h> before any headers from that library.
2014-10-07 02:36:57 -04:00
..
CMakeLists.txt refactor(interval): organize template source code using the approach described at http://www.codeproject.com/Articles/3515/How-To-Organize-Template-Source-Code 2013-10-21 18:15:27 -07:00
interval.cpp chore(util/*): add cstddef header before including gmp.h/mpfr.h 2014-10-07 02:36:57 -04:00
interval.h refactor(*): minimize dependency on thread local storage, simplify MK_THREAD_LOCAL_GET 2014-06-07 12:16:01 -07:00
interval_instances.cpp refactor(*): isolate std::thread dependency 2013-12-09 15:20:26 -08:00