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
Branches
Tags
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
//
......@@ -129,7 +129,7 @@ int Mesh_Tetgen(Volume * vol) {
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');
Msg(STATUS3, "Meshing with volume constraint %f", (float)CTX.mesh.quality);
......
......@@ -29,6 +29,7 @@
#include <set>
#include <map>
#include <vector>
#include <algorithm>
#include <list>
#include <math.h>
......
......@@ -52,7 +52,7 @@ static int iminarg1,iminarg2;
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */
void nrerror(char error_text[]);
float *vector(long nl, long nh);
//float *vector(long nl, long nh);
int *ivector(long nl, long nh);
unsigned char *cvector(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