mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-23 18:20:47 +08:00
hack to to make the nomalloc unit test compiles with -pedantic
This commit is contained in:
parent
42ad9c4352
commit
60726f91a9
@ -22,11 +22,10 @@
|
||||
// License and a copy of the GNU General Public License along with
|
||||
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define throw(X)
|
||||
#define EIGEN_DONT_VECTORIZE 1
|
||||
#include "main.h"
|
||||
|
||||
// #define CUSTOM_NEW_DELETE(TYPE)
|
||||
|
||||
void* operator new[] (size_t n)
|
||||
{
|
||||
ei_assert(false && "operator new should never be called with fixed size path");
|
||||
|
Loading…
Reference in New Issue
Block a user