Tests: Fix Plugin test on Watcom compiler
The Watcom compiler does not have stream operators for std::string. Since KWSys no longer provides the operators for us, just use c_str() to avoid the problem and allow the test to compile on Watcom.
This commit is contained in:
parent
89958fd06e
commit
d2b8229d02
|
@ -32,7 +32,7 @@ int main()
|
||||||
if(!handle)
|
if(!handle)
|
||||||
{
|
{
|
||||||
std::cerr << "Could not open plugin \""
|
std::cerr << "Could not open plugin \""
|
||||||
<< libName << "\"!" << std::endl;
|
<< libName.c_str() << "\"!" << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
kwsys::DynamicLoader::SymbolPointer sym =
|
kwsys::DynamicLoader::SymbolPointer sym =
|
||||||
|
|
Loading…
Reference in New Issue