diff options
author | Brad King <brad.king@kitware.com> | 2016-06-10 13:09:50 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-10 13:09:50 (GMT) |
commit | 5d078868f00ff8dd514c7c35542aaf2eb0b5ef5f (patch) | |
tree | 9e4fda2b8de6e027d1dcc2965bb09be67df888f4 /Tests | |
parent | 1bde72a390fd734795a3f5f4d09a3e279b5d61b8 (diff) | |
parent | ceebac93f66c3927997b708caf6f2eb2d1827593 (diff) | |
download | CMake-5d078868f00ff8dd514c7c35542aaf2eb0b5ef5f.zip CMake-5d078868f00ff8dd514c7c35542aaf2eb0b5ef5f.tar.gz CMake-5d078868f00ff8dd514c7c35542aaf2eb0b5ef5f.tar.bz2 |
Merge topic 'watcom-workaround'
ceebac93 Tests: Restore fix to Plugin test on Watcom compiler
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Plugin/src/example_exe.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx index 86b54f7..017fbf6 100644 --- a/Tests/Plugin/src/example_exe.cxx +++ b/Tests/Plugin/src/example_exe.cxx @@ -31,7 +31,9 @@ int main() kwsys::DynamicLoader::LibraryHandle handle = kwsys::DynamicLoader::OpenLibrary(libName.c_str()); if (!handle) { - std::cerr << "Could not open plugin \"" << libName << "\"!" << std::endl; + // Leave the .c_str() on this one. It is needed on OpenWatcom. + std::cerr << "Could not open plugin \"" << libName.c_str() << "\"!" + << std::endl; return 1; } kwsys::DynamicLoader::SymbolPointer sym = |