http://bugzilla.moblin.org/show_bug.cgi?id=5188
--- Comment #28 from pohly <patrick.ohly(a)intel.com> 2009-11-17 03:49:35 PST ---
There was another compiler error (g++ 4.3.2) when Bluetooth support was off.
Fix is in master branch:
commit 1ddbffd50310393aa12e6df03c56abb857280b2a
Author: Patrick Ohly <patrick.ohly(a)intel.com>
Date: Tue Nov 17 12:45:38 2009 +0100
OBEX transport: fix compiler error when OBEX transport is off
Throwing the exception about an unsupported transport must be
reached also for OBEX/Bluetooth URLs when ENABLE_BLUETOOTH is off.
Otherwise the function is left without valid return code.
diff --git a/src/syncevo/SyncContext.cpp b/src/syncevo/SyncContext.cpp
index 012c29a..b4f11b2 100644
--- a/src/syncevo/SyncContext.cpp
+++ b/src/syncevo/SyncContext.cpp
@@ -847,10 +847,10 @@ boost::shared_ptr<TransportAgent>
SyncContext::createTransportAgent()
agent->connect();
return agent;
#endif
- } else {
- boost::shared_ptr<TransportAgent> agent;
- throw std::string("unsupported transport type is specified in the
configuration");
}
+
+ boost::shared_ptr<TransportAgent> agent;
+ SE_THROW("unsupported transport type is specified in the configuration");
}
void SyncContext::displayServerMessage(const string &message)
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.