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.

This commit is contained in:
Brad King 2008-02-03 08:58:10 -05:00
parent 4d9fa41124
commit dc06ac5881
1 changed files with 13 additions and 0 deletions

View File

@ -267,4 +267,17 @@ kwsys_ios::ostream& IOStreamPrint(kwsys_ios::ostream& os, IOStreamULL value)
} // namespace KWSYS_NAMESPACE } // 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 #endif // KWSYS_IOS_NEED_OPERATORS_LL