tags 455670 +patch
thanks

Hi,

I'm attaching a patch to fix this problem.  Please take into account that the
gcc 4.3 issues are marked as release goals bugs, so if you don't upload a fix
soon it would probably be NMUed.

Thanks,
-- 
: You are in a dark room with a compiler, emacs, an internet connection,
: and a thermos of coffee.
: Your move ?
Saludos /\/\ /\ >< `/
diff -Naru libmesh-0.6.1.dfsg.orig/include/mesh/mesh_refinement.h libmesh-0.6.1.dfsg/include/mesh/mesh_refinement.h
--- libmesh-0.6.1.dfsg.orig/include/mesh/mesh_refinement.h	2007-10-21 17:48:42.000000000 -0300
+++ libmesh-0.6.1.dfsg/include/mesh/mesh_refinement.h	2008-03-22 22:38:31.000000000 -0300
@@ -32,6 +32,7 @@
 #include <vector>
 #include <list>
 
+#undef HAVE_HASH_MAP
 #if   defined(HAVE_HASH_MAP)
 # include <hash_map>
 #elif defined(HAVE_EXT_HASH_MAP)
@@ -589,6 +590,7 @@
    * For efficiency we will use a hashed multimap if it is
    * available, otherwise a regular multimap.
    */
+#undef HAVE_HASH_MAP
 #if   defined(HAVE_HASH_MAP)    
     typedef std::hash_multimap<unsigned int, Node*> map_type;    
 #elif defined(HAVE_EXT_HASH_MAP)
diff -Naru libmesh-0.6.1.dfsg.orig/include/mesh/xdr_mgf.h libmesh-0.6.1.dfsg/include/mesh/xdr_mgf.h
--- libmesh-0.6.1.dfsg.orig/include/mesh/xdr_mgf.h	2007-10-21 17:48:42.000000000 -0300
+++ libmesh-0.6.1.dfsg/include/mesh/xdr_mgf.h	2008-03-22 22:41:53.000000000 -0300
@@ -25,6 +25,7 @@
 #include <string>
 #include <fstream> // for std::ifstream
 #include <sstream>
+#include <cstring>
 
 // Local includes
 #include "xdr_io.h"          // for XdrIO::FileFormat
diff -Naru libmesh-0.6.1.dfsg.orig/src/mesh/gmsh_io.C libmesh-0.6.1.dfsg/src/mesh/gmsh_io.C
--- libmesh-0.6.1.dfsg.orig/src/mesh/gmsh_io.C	2007-10-21 17:48:49.000000000 -0300
+++ libmesh-0.6.1.dfsg/src/mesh/gmsh_io.C	2008-03-22 22:16:39.000000000 -0300
@@ -22,6 +22,7 @@
 // C++ includes
 #include <fstream>
 #include <set>
+#include <cstring>
 
 // Local includes
 #include "libmesh_config.h"
diff -Naru libmesh-0.6.1.dfsg.orig/src/mesh/mesh_data_unv_support.C libmesh-0.6.1.dfsg/src/mesh/mesh_data_unv_support.C
--- libmesh-0.6.1.dfsg.orig/src/mesh/mesh_data_unv_support.C	2007-10-21 17:48:50.000000000 -0300
+++ libmesh-0.6.1.dfsg/src/mesh/mesh_data_unv_support.C	2008-03-22 22:24:46.000000000 -0300
@@ -631,7 +631,7 @@
   _desired_dataset_label (libMesh::invalid_uint)
 {
   id_lines_1_to_5.resize(5);
-  std::fill (id_lines_1_to_5.begin(), id_lines_1_to_5.end(), "libMesh default");
+  std::fill (id_lines_1_to_5.begin(), id_lines_1_to_5.end(), (const char*) "libMesh default");
   /*
    * resize analysis specific data.
    */
diff -Naru libmesh-0.6.1.dfsg.orig/src/mesh/unstructured_mesh.C libmesh-0.6.1.dfsg/src/mesh/unstructured_mesh.C
--- libmesh-0.6.1.dfsg.orig/src/mesh/unstructured_mesh.C	2007-10-22 20:30:38.000000000 -0300
+++ libmesh-0.6.1.dfsg/src/mesh/unstructured_mesh.C	2008-03-22 22:41:09.000000000 -0300
@@ -47,6 +47,7 @@
 #include "xdr_io.h"
 #include "vtk_io.h"
 
+#undef HAVE_HASH_MAP
 #if   defined(HAVE_HASH_MAP)
 # include <hash_map>
 #elif defined(HAVE_EXT_HASH_MAP)

Reply via email to