Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug SMESH5528 (The compilation fails on the file SMESHDriver.cxx using gcc2.95.4).
[modules/smesh.git]
/
src
/
Driver
/
SMESHDriver.cxx
diff --git
a/src/Driver/SMESHDriver.cxx
b/src/Driver/SMESHDriver.cxx
index 696c00d884afe71ea8006eacdd1aa84288c6db0b..e98932a808bc513c200b8148650bd0873febff3e 100644
(file)
--- a/
src/Driver/SMESHDriver.cxx
+++ b/
src/Driver/SMESHDriver.cxx
@@
-73,7
+73,7
@@
void * SMESHDriver::getMeshDriver(string extension, string type)
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else
return NULL;
}
else
@@
-83,7
+83,7
@@
void * SMESHDriver::getMeshDriver(string extension, string type)
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else return factory();
return NULL;
}
else return factory();
@@
-96,7
+96,7
@@
void * SMESHDriver::getMeshDocumentDriver(string extension)
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else
return NULL;
}
else
@@
-106,7
+106,7
@@
void * SMESHDriver::getMeshDocumentDriver(string extension)
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else return factory();
return NULL;
}
else return factory();