[cmake-commits] king committed IOStream.cxx 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Feb 3 08:58:12 EST 2008


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv2011/Source/kwsys

Modified Files:
	IOStream.cxx 
Log Message:
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.


Index: IOStream.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/IOStream.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- IOStream.cxx	27 Aug 2006 17:17:23 -0000	1.1
+++ IOStream.cxx	3 Feb 2008 13:58:10 -0000	1.2
@@ -267,4 +267,17 @@
 
 } // 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



More information about the Cmake-commits mailing list