Skip to content
Snippets Groups Projects
Commit 07b32d83 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fixes for gcc 2.95

parent 8c52279e
No related branches found
No related tags found
No related merge requests found
// $Id: 3D_Mesh_Tetgen.cpp,v 1.4 2006-01-06 00:34:26 geuzaine Exp $ // $Id: 3D_Mesh_Tetgen.cpp,v 1.5 2006-01-15 19:28:26 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -129,8 +129,8 @@ int Mesh_Tetgen(Volume * vol) { ...@@ -129,8 +129,8 @@ int Mesh_Tetgen(Volume * vol) {
in.facetmarkerlist[i] = s->iEnt; in.facetmarkerlist[i] = s->iEnt;
} }
snprintf(opts, 128, "pqa%f%c", (float)CTX.mesh.quality, sprintf(opts, "pqa%f%c", (float)CTX.mesh.quality,
(CTX.verbosity < 3)? 'Q': (CTX.verbosity > 6)? 'V': '\0'); (CTX.verbosity < 3)? 'Q': (CTX.verbosity > 6)? 'V': '\0');
Msg(STATUS3, "Meshing with volume constraint %f", (float)CTX.mesh.quality); Msg(STATUS3, "Meshing with volume constraint %f", (float)CTX.mesh.quality);
tetrahedralize(opts, &in, &out); tetrahedralize(opts, &in, &out);
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <set> #include <set>
#include <map> #include <map>
#include <vector> #include <vector>
#include <algorithm>
#include <list> #include <list>
#include <math.h> #include <math.h>
......
...@@ -52,7 +52,7 @@ static int iminarg1,iminarg2; ...@@ -52,7 +52,7 @@ static int iminarg1,iminarg2;
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */ #if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */
void nrerror(char error_text[]); void nrerror(char error_text[]);
float *vector(long nl, long nh); //float *vector(long nl, long nh);
int *ivector(long nl, long nh); int *ivector(long nl, long nh);
unsigned char *cvector(long nl, long nh); unsigned char *cvector(long nl, long nh);
unsigned long *lvector(long nl, long nh); unsigned long *lvector(long nl, long nh);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment