lmi-commits
[Top][All Lists]
Advanced

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

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


From: Greg Chicares
Subject: [lmi-commits] [6486] Force linking despite overly-aggressive linker "optimization"
Date: Thu, 21 Jan 2016 00:32:54 +0000

Revision: 6486
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6486
Author:   chicares
Date:     2016-01-21 00:32:46 +0000 (Thu, 21 Jan 2016)
Log Message:
-----------
Force linking despite overly-aggressive linker "optimization"

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/alert_wx.cpp
    lmi/trunk/main_wx.cpp
    lmi/trunk/mc_enum_types_aux.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-01-20 19:27:21 UTC (rev 6485)
+++ lmi/trunk/ChangeLog 2016-01-21 00:32:46 UTC (rev 6486)
@@ -38531,3 +38531,14 @@
 Specify --host consistently (VZ). See:
   http://lists.nongnu.org/archive/html/lmi/2016-01/msg00022.html
 
+20160121T0032Z <address@hidden> [455]
+
+  alert_wx.cpp
+  main_wx.cpp
+  mc_enum_types_aux.cpp
+Force linking despite overly-aggressive linker "optimization". See:
+  http://lists.nongnu.org/archive/html/lmi/2014-08/msg00000.html
+  http://lists.nongnu.org/archive/html/lmi/2014-10/msg00006.html
+  http://lists.nongnu.org/archive/html/lmi/2016-01/msg00006.html
+  http://lists.nongnu.org/archive/html/lmi/2016-01/msg00026.html
+

Modified: lmi/trunk/alert_wx.cpp
===================================================================
--- lmi/trunk/alert_wx.cpp      2016-01-20 19:27:21 UTC (rev 6485)
+++ lmi/trunk/alert_wx.cpp      2016-01-21 00:32:46 UTC (rev 6486)
@@ -29,6 +29,7 @@
 #include "alert.hpp"
 
 #include "configurable_settings.hpp"
+#include "force_linking.hpp"
 
 #include <wx/app.h>                     // wxTheApp
 #include <wx/frame.h>
@@ -40,6 +41,8 @@
 #include <cstdio>
 #include <stdexcept>
 
+LMI_FORCE_LINKING_IN_SITU(alert_wx)
+
 namespace
 {
 volatile bool ensure_setup = set_alert_functions

Modified: lmi/trunk/main_wx.cpp
===================================================================
--- lmi/trunk/main_wx.cpp       2016-01-20 19:27:21 UTC (rev 6485)
+++ lmi/trunk/main_wx.cpp       2016-01-21 00:32:46 UTC (rev 6486)
@@ -49,8 +49,10 @@
 
 #include <string>
 
+LMI_FORCE_LINKING_EX_SITU(alert_wx)
 LMI_FORCE_LINKING_EX_SITU(file_command_wx)
 LMI_FORCE_LINKING_EX_SITU(group_quote_pdf_generator_wx)
+LMI_FORCE_LINKING_EX_SITU(mc_enum_types_aux)
 LMI_FORCE_LINKING_EX_SITU(progress_meter_wx)
 LMI_FORCE_LINKING_EX_SITU(system_command_wx)
 

Modified: lmi/trunk/mc_enum_types_aux.cpp
===================================================================
--- lmi/trunk/mc_enum_types_aux.cpp     2016-01-20 19:27:21 UTC (rev 6485)
+++ lmi/trunk/mc_enum_types_aux.cpp     2016-01-21 00:32:46 UTC (rev 6486)
@@ -30,12 +30,15 @@
 
 #include "alert.hpp"
 #include "assert_lmi.hpp"
+#include "force_linking.hpp"
 #include "mc_enum.hpp"
 #include "mc_enum_types.hpp"
 
 #include <cstddef>                      // std::size_t
 #include <stdexcept>
 
+LMI_FORCE_LINKING_IN_SITU(mc_enum_types_aux)
+
 namespace
 {
 /// Suppress enumerators for emission options not fully implemented.




reply via email to

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