From 6106d13c6d52c776d5aa8a28d9379737b5ee4d9a Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 22 Feb 2008 07:59:00 +0000 Subject: [PATCH] more missing cstring inc --- Common/Options.cpp | 3 ++- Fltk/Callbacks.cpp | 3 ++- Fltk/GUI.cpp | 3 ++- Fltk/Main.cpp | 3 ++- Fltk/Message.cpp | 3 ++- Fltk/Opengl.cpp | 3 ++- Fltk/Solvers.cpp | 3 ++- Geo/GModelIO_Mesh.cpp | 5 ++--- Geo/GVertex.cpp | 4 ++-- Parser/Gmsh.y | 3 ++- Parser/OpenFile.cpp | 3 ++- 11 files changed, 22 insertions(+), 14 deletions(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index 301ad73735..f2d0f19ac0 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -1,4 +1,4 @@ -// $Id: Options.cpp,v 1.382 2008-02-17 08:47:56 geuzaine Exp $ +// $Id: Options.cpp,v 1.383 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include "GmshUI.h" #include "GmshDefines.h" #include "Message.h" diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index 7ee9299ad3..a7d4174100 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.562 2008-02-17 08:47:56 geuzaine Exp $ +// $Id: Callbacks.cpp,v 1.563 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <signal.h> #include <time.h> #include <map> diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index ddd00f87ef..228bb96893 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.655 2008-02-17 10:17:02 geuzaine Exp $ +// $Id: GUI.cpp,v 1.656 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include "GmshUI.h" #include "GmshDefines.h" #include "Message.h" diff --git a/Fltk/Main.cpp b/Fltk/Main.cpp index 671f986b92..07a4dd9522 100644 --- a/Fltk/Main.cpp +++ b/Fltk/Main.cpp @@ -1,4 +1,4 @@ -// $Id: Main.cpp,v 1.116 2008-02-17 08:47:57 geuzaine Exp $ +// $Id: Main.cpp,v 1.117 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <signal.h> #include <time.h> #include "GUI.h" diff --git a/Fltk/Message.cpp b/Fltk/Message.cpp index e59d8aa2e6..97523f0101 100644 --- a/Fltk/Message.cpp +++ b/Fltk/Message.cpp @@ -1,4 +1,4 @@ -// $Id: Message.cpp,v 1.83 2008-02-17 08:47:57 geuzaine Exp $ +// $Id: Message.cpp,v 1.84 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <signal.h> #include "Message.h" #include "GmshUI.h" diff --git a/Fltk/Opengl.cpp b/Fltk/Opengl.cpp index 99aae6d6e8..baa7060ef4 100644 --- a/Fltk/Opengl.cpp +++ b/Fltk/Opengl.cpp @@ -1,4 +1,4 @@ -// $Id: Opengl.cpp,v 1.76 2008-02-17 08:47:57 geuzaine Exp $ +// $Id: Opengl.cpp,v 1.77 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include "GmshUI.h" #include "GmshDefines.h" #include "Numeric.h" diff --git a/Fltk/Solvers.cpp b/Fltk/Solvers.cpp index 9fe011e383..4db85bc842 100644 --- a/Fltk/Solvers.cpp +++ b/Fltk/Solvers.cpp @@ -1,4 +1,4 @@ -// $Id: Solvers.cpp,v 1.59 2008-02-17 08:47:57 geuzaine Exp $ +// $Id: Solvers.cpp,v 1.60 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,6 +19,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include "Message.h" #include "Solvers.h" #include "GmshServer.h" diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 7f4ac0d273..ff1f870c97 100644 --- a/Geo/GModelIO_Mesh.cpp +++ b/Geo/GModelIO_Mesh.cpp @@ -1,4 +1,4 @@ -// $Id: GModelIO_Mesh.cpp,v 1.35 2008-02-22 07:49:38 geuzaine Exp $ +// $Id: GModelIO_Mesh.cpp,v 1.36 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,10 +19,9 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <map> -#include <cstring> #include <string> - #include "GModel.h" #include "GmshDefines.h" #include "MElement.h" diff --git a/Geo/GVertex.cpp b/Geo/GVertex.cpp index eb7deb01de..9b701cfb95 100644 --- a/Geo/GVertex.cpp +++ b/Geo/GVertex.cpp @@ -1,4 +1,4 @@ -// $Id: GVertex.cpp,v 1.19 2008-02-17 08:47:58 geuzaine Exp $ +// $Id: GVertex.cpp,v 1.20 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -19,8 +19,8 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <algorithm> -#include <cstring> #include "GVertex.h" #include "GFace.h" #include "MVertex.h" diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index ee4c1c5644..8476effd27 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.299 2008-02-20 09:20:46 geuzaine Exp $ +// $Id: Gmsh.y,v 1.300 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -20,6 +20,7 @@ // // Please report all bugs and problems to <gmsh@geuz.org>. +#include <string.h> #include <stdarg.h> #include <time.h> #include "Message.h" diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 9dc47ce2bb..008b6be6ca 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.175 2008-02-17 08:48:05 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.176 2008-02-22 07:59:00 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -23,6 +23,7 @@ #include <sys/cygwin.h> #endif +#include <string.h> #include "Message.h" #include "Geo.h" #include "GModel.h" -- GitLab