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

Fix compile SGI

parent df17162b
No related branches found
No related tags found
No related merge requests found
// $Id: Geom.cpp,v 1.16 2001-02-23 00:07:51 remacle Exp $ // $Id: Geom.cpp,v 1.17 2001-02-23 08:46:12 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -833,7 +833,6 @@ void EndHighlight(int permanent){ ...@@ -833,7 +833,6 @@ void EndHighlight(int permanent){
void HighlightEntity(Vertex *v,Curve *c, Surface *s, int permanent){ void HighlightEntity(Vertex *v,Curve *c, Surface *s, int permanent){
Curve *cc; Curve *cc;
Vertex *v1,*v2;
char Message[256],temp[256]; char Message[256],temp[256];
int i,nbg; int i,nbg;
...@@ -845,9 +844,6 @@ void HighlightEntity(Vertex *v,Curve *c, Surface *s, int permanent){ ...@@ -845,9 +844,6 @@ void HighlightEntity(Vertex *v,Curve *c, Surface *s, int permanent){
else if(c){ else if(c){
if(permanent) c->ipar[3] = 1; if(permanent) c->ipar[3] = 1;
if(CTX.geom.highlight) Draw_Curve(&c,NULL); if(CTX.geom.highlight) Draw_Curve(&c,NULL);
// List_Read(c->Control_Points,0,&v1);
// List_Read(c->Control_Points,List_Nbr(c->Control_Points)-1,&v2);
Msg(STATUS1N,"Curve %d {%d->%d}",c->Num,c->beg->Num,c->end->Num); Msg(STATUS1N,"Curve %d {%d->%d}",c->Num,c->beg->Num,c->end->Num);
} }
else if(s){ else if(s){
......
# $Id: Makefile,v 1.68 2001-02-23 00:07:51 remacle Exp $ # $Id: Makefile,v 1.69 2001-02-23 08:46:12 geuzaine Exp $
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Makefile for Gmsh # Makefile for Gmsh
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
...@@ -395,7 +395,7 @@ fltk_compile_linux_scorec : ...@@ -395,7 +395,7 @@ fltk_compile_linux_scorec :
fltk_compile_sgi: fltk_compile_sgi:
@for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \ @for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \
"CC=CC" \ "CC=CC" \
"C_FLAGS=-O2 -n32 -OPT:Olimit=0" \ "C_FLAGS=-O2 -n32 -OPT:Olimit=0 -LANG:std" \
"RANLIB=true"\ "RANLIB=true"\
"AR=CC -n32 -ar -o"\ "AR=CC -n32 -ar -o"\
"OS_FLAGS=" \ "OS_FLAGS=" \
......
#include <iostream> #include <iostream.h>
#include <assert.h> #include <assert.h>
#include "Gmsh.h" #include "Gmsh.h"
#include "Geo.h" #include "Geo.h"
...@@ -38,9 +38,8 @@ void Read_VTK_File (char *file, Mesh *m) ...@@ -38,9 +38,8 @@ void Read_VTK_File (char *file, Mesh *m)
FILE *in = fopen (file,"r"); FILE *in = fopen (file,"r");
if(!in)return; if(!in)return;
char line[256],dumline1[256],dumline2[256]; char line[256],dumline1[256],dumline2[256];
int i,j; int i;
int NbRegions,NbFaces,NbEdges,NbVertices,NbPoints, int NbFaces,NbVertices,Vertex1,Vertex2,Vertex3,NbVerticesOnFace;
Vertex1,Vertex2,Vertex3,Vertex4,NbVerticesOnFace;
double x,y,z; double x,y,z;
Vertex *v1,*v2,*v3,*v4; Vertex *v1,*v2,*v3,*v4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment