From 51d979fabb8e91607d121e5d3ab089f03e9bc789 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 5 Jun 2008 18:25:18 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GModelIO_CGNS.cpp | 4 ++-- Geo/GModelIO_MED.cpp | 10 +++++----- Geo/GaussLegendreSimplex.cpp | 2 +- Geo/gmshSurface.h | 2 +- Numeric/FunctionSpace.cpp | 3 +-- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Geo/GModelIO_CGNS.cpp b/Geo/GModelIO_CGNS.cpp index fd7cb21d6b..fe8381b0cc 100644 --- a/Geo/GModelIO_CGNS.cpp +++ b/Geo/GModelIO_CGNS.cpp @@ -17,8 +17,8 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <iostream> // DBG -#include <cstring> #include <list> #include <map> #include <set> @@ -33,7 +33,7 @@ #if defined(HAVE_LIBCGNS) -#include "cgnslib.h" +#include <cgnslib.h> int cgnsErr(const int cgIndexFile = -1) { diff --git a/Geo/GModelIO_MED.cpp b/Geo/GModelIO_MED.cpp index 98742142f4..dac75e751f 100644 --- a/Geo/GModelIO_MED.cpp +++ b/Geo/GModelIO_MED.cpp @@ -1,4 +1,4 @@ -// $Id: GModelIO_MED.cpp,v 1.34 2008-05-04 08:31:13 geuzaine Exp $ +// $Id: GModelIO_MED.cpp,v 1.35 2008-06-05 18:25:18 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -25,10 +25,10 @@ #if defined(HAVE_MED) +#include <string.h> #include <map> #include <sstream> #include <vector> -#include <cstring> #include "MElement.h" #include "MVertex.h" #include "discreteVertex.h" @@ -562,21 +562,21 @@ int GModel::writeMED(const std::string &name, bool saveAll, double scalingFactor int GModel::readMED(const std::string &name) { Msg::Error("Gmsh has to be compiled with MED support to read '%s'", - name.c_str()); + name.c_str()); return 0; } int GModel::readMED(const std::string &name, int meshIndex) { Msg::Error("Gmsh has to be compiled with MED support to read '%s'", - name.c_str()); + name.c_str()); return 0; } int GModel::writeMED(const std::string &name, bool saveAll, double scalingFactor) { Msg::Error("Gmsh has to be compiled with MED support to write '%s'", - name.c_str()); + name.c_str()); return 0; } diff --git a/Geo/GaussLegendreSimplex.cpp b/Geo/GaussLegendreSimplex.cpp index 65c2e6e158..cd9319a0db 100644 --- a/Geo/GaussLegendreSimplex.cpp +++ b/Geo/GaussLegendreSimplex.cpp @@ -1,4 +1,4 @@ -#include <cmath> +#include <math.h> #include "MElement.h" #include "GaussLegendreSimplex.h" #include "GaussLegendre1D.h" diff --git a/Geo/gmshSurface.h b/Geo/gmshSurface.h index a9e451360b..7bab38f55c 100644 --- a/Geo/gmshSurface.h +++ b/Geo/gmshSurface.h @@ -20,7 +20,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. -#include <cmath> +#include <math.h> #include <map> #include "Pair.h" #include "Range.h" diff --git a/Numeric/FunctionSpace.cpp b/Numeric/FunctionSpace.cpp index 285a0b4a70..d340f2b483 100644 --- a/Numeric/FunctionSpace.cpp +++ b/Numeric/FunctionSpace.cpp @@ -1,4 +1,4 @@ -// $Id: FunctionSpace.cpp,v 1.4 2008-03-20 11:44:09 geuzaine Exp $ +// $Id: FunctionSpace.cpp,v 1.5 2008-06-05 18:25:18 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,7 +19,6 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. -#include <cmath> #include "FunctionSpace.h" #include "GmshDefines.h" -- GitLab