lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5964] Force linking despite overly-aggressive linker "opt


From: Greg Chicares
Subject: [lmi-commits] [5964] Force linking despite overly-aggressive linker "optimization"
Date: Mon, 06 Oct 2014 17:28:23 +0000

Revision: 5964
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5964
Author:   chicares
Date:     2014-10-06 17:28:21 +0000 (Mon, 06 Oct 2014)
Log Message:
-----------
Force linking despite overly-aggressive linker "optimization"

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/file_command_wx.cpp
    lmi/trunk/main_wx.cpp
    lmi/trunk/main_wx_test.cpp
    lmi/trunk/progress_meter_wx.cpp
    lmi/trunk/system_command_wx.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/ChangeLog 2014-10-06 17:28:21 UTC (rev 5964)
@@ -34238,3 +34238,13 @@
 Rectify data dependencies of certain test targets. See:
   http://lists.nongnu.org/archive/html/lmi/2014-10/msg00018.html
 
+20141006T1728Z <address@hidden> [533]
+
+  file_command_wx.cpp
+  main_wx.cpp
+  main_wx_test.cpp
+  progress_meter_wx.cpp
+  system_command_wx.cpp
+Force linking despite overly-aggressive linker "optimization". See:
+  http://lists.nongnu.org/archive/html/lmi/2014-10/msg00007.html
+

Modified: lmi/trunk/file_command_wx.cpp
===================================================================
--- lmi/trunk/file_command_wx.cpp       2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/file_command_wx.cpp       2014-10-06 17:28:21 UTC (rev 5964)
@@ -29,6 +29,7 @@
 #include "file_command.hpp"
 
 #include "alert.hpp"
+#include "force_linking.hpp"
 
 #include <boost/filesystem/convenience.hpp>
 #include <boost/filesystem/path.hpp>
@@ -37,6 +38,8 @@
 #include <wx/mimetype.h>
 #include <wx/utils.h> // wxExecute()
 
+LMI_FORCE_LINKING_IN_SITU(file_command_wx);
+
 // Implementing this function in a GUI module means the wx facility
 // can be used. Currently, no other interface needs to implement it.
 

Modified: lmi/trunk/main_wx.cpp
===================================================================
--- lmi/trunk/main_wx.cpp       2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/main_wx.cpp       2014-10-06 17:28:21 UTC (rev 5964)
@@ -37,6 +37,7 @@
 #endif
 
 #include "fenv_lmi.hpp"
+#include "force_linking.hpp"
 #include "handle_exceptions.hpp"
 #include "main_common.hpp"              // initialize_application()
 #include "msw_workarounds.hpp"
@@ -47,6 +48,10 @@
 
 #include <string>
 
+LMI_FORCE_LINKING_EX_SITU(file_command_wx);
+LMI_FORCE_LINKING_EX_SITU(progress_meter_wx);
+LMI_FORCE_LINKING_EX_SITU(system_command_wx);
+
 IMPLEMENT_APP_NO_MAIN(Skeleton)
 IMPLEMENT_WX_THEME_SUPPORT
 

Modified: lmi/trunk/main_wx_test.cpp
===================================================================
--- lmi/trunk/main_wx_test.cpp  2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/main_wx_test.cpp  2014-10-06 17:28:21 UTC (rev 5964)
@@ -27,6 +27,7 @@
 #endif
 
 #include "assert_lmi.hpp"
+#include "force_linking.hpp"
 #include "main_common.hpp"              // initialize_application()
 #include "msw_workarounds.hpp"
 #include "path_utility.hpp"             // initialize_filesystem()
@@ -38,6 +39,10 @@
 #include <wx/testing.h>
 #include <wx/uiaction.h>
 
+LMI_FORCE_LINKING_EX_SITU(file_command_wx);
+LMI_FORCE_LINKING_EX_SITU(progress_meter_wx);
+LMI_FORCE_LINKING_EX_SITU(system_command_wx);
+
 class SkeletonTest;
 DECLARE_APP(SkeletonTest)
 

Modified: lmi/trunk/progress_meter_wx.cpp
===================================================================
--- lmi/trunk/progress_meter_wx.cpp     2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/progress_meter_wx.cpp     2014-10-06 17:28:21 UTC (rev 5964)
@@ -28,6 +28,7 @@
 
 #include "progress_meter.hpp"
 
+#include "force_linking.hpp"
 #include "wx_utility.hpp"               // TopWindow()
 
 #include <wx/progdlg.h>
@@ -36,6 +37,8 @@
 #include <ios>                          // std::fixed, 
std::ios_base::precision()
 #include <sstream>
 
+LMI_FORCE_LINKING_IN_SITU(progress_meter_wx);
+
 namespace
 {
 // Implicitly-declared special member functions do the right thing.

Modified: lmi/trunk/system_command_wx.cpp
===================================================================
--- lmi/trunk/system_command_wx.cpp     2014-10-06 13:50:14 UTC (rev 5963)
+++ lmi/trunk/system_command_wx.cpp     2014-10-06 17:28:21 UTC (rev 5964)
@@ -29,6 +29,7 @@
 #include "system_command.hpp"
 
 #include "alert.hpp"
+#include "force_linking.hpp"
 #include "null_stream.hpp"
 #include "timer.hpp"
 
@@ -39,6 +40,8 @@
 #include <cstddef>                      // std::size_t
 #include <ostream>
 
+LMI_FORCE_LINKING_IN_SITU(system_command_wx);
+
 namespace
 {
 void assemble_console_lines




reply via email to

[Prev in Thread] Current Thread [Next in Thread]