diff --git a/Fltk/messageWindow.cpp b/Fltk/messageWindow.cpp index 0a0c03ae3fdd9c942f6e0677f2c11b930a10b81e..344b659f49efdaef318cbc2204964e0eee11c4a8 100644 --- a/Fltk/messageWindow.cpp +++ b/Fltk/messageWindow.cpp @@ -3,6 +3,7 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. +#include <stdio.h> #include <string.h> #include <FL/Fl_Box.H> #include <FL/Fl_Return_Button.H> diff --git a/Geo/SVector3.h b/Geo/SVector3.h index 149180993587ce740af28f3a16228a17dfac836c..da0c486a1b3d467925026bc2a9365b1b36d32092 100644 --- a/Geo/SVector3.h +++ b/Geo/SVector3.h @@ -8,6 +8,7 @@ #include "SPoint3.h" #include <string> +#include <stdio.h> // concrete class for vector of size 3 class SVector3 { diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp index feba6adf7dd5309a36eab3728f7fbe54562f843f..78d77b1abea8ac6a52cfc19977e02b7659ed3a5d 100644 --- a/Graphics/drawPost.cpp +++ b/Graphics/drawPost.cpp @@ -729,12 +729,10 @@ static void addOutlinePrism(PView *p, double xyz[NMAX][3], unsigned int color, for(int i = 0; i < 2; i++) addOutlineTriangle(p, xyz, color, pre, it[i][0], it[i][1], it[i][2]); } - static void addScalarPrism(PView *p, double xyz[NMAX][3], double val[NMAX][9], bool pre) { PViewOptions *opt = p->getOptions(); - const int iq[3][4] = {{0, 1, 4, 3}, {0, 3, 5, 2}, {1, 2, 5, 4}}; const int it[2][3] = {{0, 2, 1}, {3, 4, 5}}; const int is[3][4] = {{0, 1, 2, 3}, {3, 4, 5, 2}, {1, 2, 4, 3}};