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:
parent
4d9fa41124
commit
dc06ac5881
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue