[dss-commits] digitalSTROM Server branch, master, updated. 13ab94d03df4ca2aac54ca124b0ac2e04b92f492
git version control
dss-commits at forum.digitalstrom.org
Fri Nov 20 12:35:02 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, master has been updated
via 13ab94d03df4ca2aac54ca124b0ac2e04b92f492 (commit)
from 4af7afbed1e3a188cdc105753ab40adbf4e3b2e9 (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 13ab94d03df4ca2aac54ca124b0ac2e04b92f492
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