Bytecode: use C++ headers

Performed using modernize-deprecated-headers from clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize-deprecated-headers.html
time-shift
Sébastien Villemot 2021-02-01 12:28:50 +01:00
parent c050325e3d
commit 2f587cf5c3
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
4 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@
#include "CodeInterpreter.hh"
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#ifndef M_PI
# define M_PI (3.14159265358979323846)
#endif

View File

@ -19,7 +19,7 @@
#include <cstring>
#include <sstream>
#include <math.h>
#include <cmath>
#include "Evaluate.hh"
#ifdef MATLAB_MEX_FILE

View File

@ -1,5 +1,5 @@
/*
* Copyright © 2007-2020 Dynare Team
* Copyright © 2007-2021 Dynare Team
*
* This file is part of Dynare.
*
@ -20,7 +20,7 @@
#include "Interpreter.hh"
#include "ErrorHandling.hh"
#include <ctime>
#include <math.h>
#include <cmath>
#ifdef DEBUG_EX
@ -55,7 +55,7 @@ Get_Argument(const mxArray *prhs)
#endif
//#include <windows.h>
#include <stdio.h>
#include <cstdio>
#ifdef CUDA
int

View File

@ -1,5 +1,5 @@
/*
* Copyright © 2007-2020 Dynare Team
* Copyright © 2007-2021 Dynare Team
*
* This file is part of Dynare.
*
@ -23,7 +23,7 @@
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <stdarg.h>
#include <cstdarg>
#include <map>
#include <vector>
#include <algorithm>