Commit dc06ac58 authored by Brad King's avatar Brad King
Browse files

COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not...

COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not needed.  Define one public symbol to avoid complaints from archivers about empty object files.
parent 4d9fa411
......@@ -267,4 +267,17 @@ kwsys_ios::ostream& IOStreamPrint(kwsys_ios::ostream& os, IOStreamULL value)
} // namespace KWSYS_NAMESPACE
#else
namespace KWSYS_NAMESPACE
{
// Create one public symbol in this object file to avoid warnings from
// archivers.
void IOStreamSymbolToAvoidWarning()
{
}
} // namespace KWSYS_NAMESPACE
#endif // KWSYS_IOS_NEED_OPERATORS_LL
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment