diff --git a/src/DriverGMF/DriverGMF_Read.cxx b/src/DriverGMF/DriverGMF_Read.cxx index e28bcb998..02f4a0a29 100644 --- a/src/DriverGMF/DriverGMF_Read.cxx +++ b/src/DriverGMF/DriverGMF_Read.cxx @@ -30,6 +30,8 @@ #include "SMESHDS_Mesh.hxx" #include "SMESH_Comment.hxx" +#include + extern "C" { #include "libmesh5.h" @@ -63,6 +65,8 @@ DriverGMF_Read::~DriverGMF_Read() Driver_Mesh::Status DriverGMF_Read::Perform() { + Kernel_Utils::Localizer loc; + Status status = DRS_OK; int dim, version; diff --git a/src/DriverGMF/DriverGMF_Write.cxx b/src/DriverGMF/DriverGMF_Write.cxx index cdc6a2f5f..6dd232d91 100644 --- a/src/DriverGMF/DriverGMF_Write.cxx +++ b/src/DriverGMF/DriverGMF_Write.cxx @@ -29,6 +29,8 @@ #include "SMESHDS_Mesh.hxx" #include "SMESH_Comment.hxx" +#include + extern "C" { #include "libmesh5.h" @@ -66,6 +68,8 @@ DriverGMF_Write::~DriverGMF_Write() Driver_Mesh::Status DriverGMF_Write::Perform() { + Kernel_Utils::Localizer loc; + const int dim = 3, version = sizeof(long) == 4 ? 2 : 3; int meshID = GmfOpenMesh( myFile.c_str(), GmfWrite, version, dim );