[dss-commits] digitalSTROM Server branch, 0.6, updated. 06ce01ff95c70d8d8973084a8fff2f68ed3bc3ff

git version control dss-commits at forum.digitalstrom.org
Fri Nov 20 13:36:28 CET 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "digitalSTROM Server".

The branch, 0.6 has been updated
       via  06ce01ff95c70d8d8973084a8fff2f68ed3bc3ff (commit)
      from  e138944e581093cbb567ff0e86a95bd73ceb13d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06ce01ff95c70d8d8973084a8fff2f68ed3bc3ff
Author: Johannes Winkelmann <johannes.winkelmann at aizo.com>
Date:   Fri Nov 20 12:30:37 2009 +0100

    force the DS485Client symbols to be contained in the dss binary
    
    Plugins might need the DS485Client which is not used within the dss
    itself; create a dummy instance to make sure it's included (Refs #54)

-----------------------------------------------------------------------

Changes:
diff --git a/main.cpp b/main.cpp
index bb5798b..1e1e952 100644
--- a/main.cpp
+++ b/main.cpp
@@ -29,6 +29,7 @@
 #include "core/base.h"
 #include "core/dss.h"
 #include "core/logger.h"
+#include "core/ds485client.h"
 #include "unix/ds485.h"
 #ifdef WITH_TESTS
 #include "tests/tests.h"
@@ -202,5 +203,10 @@ int main (int argc, char* argv[]) {
 #endif
   free(tzNameCopy);
 
+  
+  // force the DS485Client symbols to be contained in the dss binary
+  // Also see redmine ticket #54
+  dss::DS485Client* __attribute__ ((unused)) pClient = new dss::DS485Client();
+
   return 0;
 }


hooks/post-receive
-- 
digitalSTROM Server


More information about the dss-commits mailing list