Index: /issm/trunk/src/c/Bamgx/Mesh2.h
===================================================================
--- /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2850)
+++ /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2851)
@@ -120,13 +120,4 @@
 const int IsVertexOnEdge = 32;
 /////////////////////////////////////////////////////////////////////////////////////
-#ifndef  NOTFREEFEM
-class ErrorMesh : public Error
-{  
-public:
-    Triangles *Th;
-    ErrorMesh(const char * Text,int l,Triangles * TTh=0, const char *t2="") :
-	Error(MESH_ERROR,"Meshing error: ",Text,"\n number : ",l,", ",t2),Th(TTh)  {}
-};
-#endif
 
 //class from MeshGeom
Index: /issm/trunk/src/c/Bamgx/meshtype.h
===================================================================
--- /issm/trunk/src/c/Bamgx/meshtype.h	(revision 2850)
+++ /issm/trunk/src/c/Bamgx/meshtype.h	(revision 2851)
@@ -67,5 +67,4 @@
 #endif
  class Triangles;
-extern void MeshError(int Err,Triangles *Th=0) ;
 }
 #endif
Index: /issm/trunk/src/c/Bamgx/objects/Triangles.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/objects/Triangles.cpp	(revision 2850)
+++ /issm/trunk/src/c/Bamgx/objects/Triangles.cpp	(revision 2851)
@@ -5903,10 +5903,4 @@
 	}
 	/*}}}1*/
-	/*FUNCTION MeshError{{{1*/
-	void MeshError(int Err,Triangles *Th){ 
-		cerr << " Fatal error in the meshgenerator " << Err << endl ;
-		exit(1); 
-	}
-	/*}}}1*/
 	/*FUNCTION  ostream& operator{{{1*/
 	ostream& operator <<(ostream& f, const  Triangle & ta) {
