Bytecode: use C++ headers
Performed using modernize-deprecated-headers from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-deprecated-headers.htmltime-shift
parent
c050325e3d
commit
2f587cf5c3
|
@ -29,7 +29,7 @@
|
||||||
#include "CodeInterpreter.hh"
|
#include "CodeInterpreter.hh"
|
||||||
|
|
||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
# define M_PI (3.14159265358979323846)
|
# define M_PI (3.14159265358979323846)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
#include "Evaluate.hh"
|
#include "Evaluate.hh"
|
||||||
|
|
||||||
#ifdef MATLAB_MEX_FILE
|
#ifdef MATLAB_MEX_FILE
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2007-2020 Dynare Team
|
* Copyright © 2007-2021 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
#include "Interpreter.hh"
|
#include "Interpreter.hh"
|
||||||
#include "ErrorHandling.hh"
|
#include "ErrorHandling.hh"
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
|
|
||||||
#ifdef DEBUG_EX
|
#ifdef DEBUG_EX
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ Get_Argument(const mxArray *prhs)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#include <windows.h>
|
//#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
|
|
||||||
#ifdef CUDA
|
#ifdef CUDA
|
||||||
int
|
int
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2007-2020 Dynare Team
|
* Copyright © 2007-2021 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <stdarg.h>
|
#include <cstdarg>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
Loading…
Reference in New Issue