mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
Compile libmesh5 as C++
This commit is contained in:
parent
7a70a55209
commit
c8bd08f7fb
@ -61,7 +61,7 @@ SET(MeshDriverGMF_SOURCES
|
|||||||
DriverGMF_Read.cxx
|
DriverGMF_Read.cxx
|
||||||
DriverGMF_Write.cxx
|
DriverGMF_Write.cxx
|
||||||
DriverGMF.cxx
|
DriverGMF.cxx
|
||||||
libmesh5.c
|
libmesh5.cxx
|
||||||
)
|
)
|
||||||
|
|
||||||
# --- rules ---
|
# --- rules ---
|
||||||
|
@ -217,7 +217,7 @@ int GmfOpenMesh(const char *FilNam, int mod, ...)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !MshIdx || !(msh = calloc(1, sizeof(GmfMshSct))) )
|
if( !MshIdx || !(msh = static_cast<GmfMshSct*>(calloc(1, sizeof(GmfMshSct)))) )
|
||||||
return(0);
|
return(0);
|
||||||
|
|
||||||
/* Copy the FilNam into the structure */
|
/* Copy the FilNam into the structure */
|
Loading…
Reference in New Issue
Block a user