From 58b98d1c621bc13a072da787c984708f330a1d1b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 28 Apr 2009 22:37:33 +0000 Subject: [PATCH] missing includes for gcc4.4 from Martin Michlmayr (Debian) --- Common/StringUtils.cpp | 1 + Fltk/aboutWindow.cpp | 1 + Mesh/meshGFaceDelaunayInsertion.cpp | 2 +- Post/PViewDataIO.cpp | 1 + contrib/Chaco/main/Gmsh_printf.cpp | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Common/StringUtils.cpp b/Common/StringUtils.cpp index b266c3228e..79a9e0ab1a 100644 --- a/Common/StringUtils.cpp +++ b/Common/StringUtils.cpp @@ -3,6 +3,7 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. +#include <stdio.h> #if defined(__CYGWIN__) #include <sys/cygwin.h> #endif diff --git a/Fltk/aboutWindow.cpp b/Fltk/aboutWindow.cpp index f2b4fb718f..44affa875c 100644 --- a/Fltk/aboutWindow.cpp +++ b/Fltk/aboutWindow.cpp @@ -3,6 +3,7 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. +#include <stdio.h> #include <FL/Fl_Browser.H> #include <FL/Fl_Box.H> #include <FL/Fl_Button.H> diff --git a/Mesh/meshGFaceDelaunayInsertion.cpp b/Mesh/meshGFaceDelaunayInsertion.cpp index 70858d03b9..8e65c3f09e 100644 --- a/Mesh/meshGFaceDelaunayInsertion.cpp +++ b/Mesh/meshGFaceDelaunayInsertion.cpp @@ -675,7 +675,7 @@ void gmshBowyerWatsonFrontal(GFace *gf) std::vector<double> vSizes, vSizesBGM, Us, Vs; std::vector<SMetric3> vMetricsBGM; - testTensor(); + //testTensor(); buildMeshGenerationDataStructures(gf, AllTris, vSizes, vSizesBGM, Us, Vs); diff --git a/Post/PViewDataIO.cpp b/Post/PViewDataIO.cpp index 3cf6cbdf17..822be143af 100644 --- a/Post/PViewDataIO.cpp +++ b/Post/PViewDataIO.cpp @@ -3,6 +3,7 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. +#include <stdio.h> #include <string.h> #include "GmshMessage.h" #include "Numeric.h" diff --git a/contrib/Chaco/main/Gmsh_printf.cpp b/contrib/Chaco/main/Gmsh_printf.cpp index 666d2bf669..7b09649d2b 100644 --- a/contrib/Chaco/main/Gmsh_printf.cpp +++ b/contrib/Chaco/main/Gmsh_printf.cpp @@ -3,6 +3,7 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. +#include <cstdio> #include <cstring> #include "GmshMessage.h" -- GitLab