| commit | 3f4684f87da4303063a194c7340f1485d1752ae0 | [log] [tgz] |
|---|---|---|
| author | Antonio Sanchez <cantonios@google.com> | Tue Jan 26 13:39:34 2021 -0800 |
| committer | Antonio Sanchez <cantonios@google.com> | Tue Jan 26 14:23:05 2021 -0800 |
| tree | dac3259ba28becb0888c115756600c5762410f3e | |
| parent | 0784d9f87b6602160e8f3e3d507d69999b92d539 [diff] |
Include `<cstdint>` in one place, remove custom typedefs Originating from [this SO issue](https://stackoverflow.com/questions/65901014/how-to-solve-this-all-error-2-in-this-case), some win32 compilers define `__int32` as a `long`, but MinGW defines `std::int32_t` as an `int`, leading to a type conflict. To avoid this, we remove the custom `typedef` definitions for win32. The Tensor module requires C++11 anyways, so we are guaranteed to have included `<cstdint>` already in `Eigen/Core`. Also re-arranged the headers to only include `<cstdint>` in one place to avoid this type of error again.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.