summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
commit3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4 (patch)
tree02c6252e5ed30a82ff3010cbb527436a29a6ad50 /Swiften
parent33f5d90fcf54917e365d9ad4357929a91c31f701 (diff)
downloadswift-contrib-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.zip
swift-contrib-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.tar.bz2
Fixed CLang warnings.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Config/SConscript1
-rw-r--r--Swiften/QA/TLSTest/CertificateTest.cpp2
-rw-r--r--Swiften/QA/TLSTest/SConscript1
3 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Config/SConscript b/Swiften/Config/SConscript
index 5b1ce4e..b162e69 100644
--- a/Swiften/Config/SConscript
+++ b/Swiften/Config/SConscript
@@ -27,6 +27,7 @@ config_flags += cStringVariable(swiften_env, "LIBFLAGS", libflags)
config_env = env.Clone()
config_env.MergeFlags(config_env["SWIFTEN_FLAGS"])
config_env.MergeFlags(config_env["BOOST_FLAGS"])
+config_env.MergeFlags(config_env["PLATFORM_FLAGS"])
config_env.WriteVal("swiften-config.h", config_env.Value(config_flags))
config_env.Program("swiften-config", [
"swiften-config.cpp"
diff --git a/Swiften/QA/TLSTest/CertificateTest.cpp b/Swiften/QA/TLSTest/CertificateTest.cpp
index 86e9568..769272b 100644
--- a/Swiften/QA/TLSTest/CertificateTest.cpp
+++ b/Swiften/QA/TLSTest/CertificateTest.cpp
@@ -4,6 +4,8 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
+#include <Swiften/Base/ByteArray.h>
+
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <boost/bind.hpp>
diff --git a/Swiften/QA/TLSTest/SConscript b/Swiften/QA/TLSTest/SConscript
index 034336e..14e2de0 100644
--- a/Swiften/QA/TLSTest/SConscript
+++ b/Swiften/QA/TLSTest/SConscript
@@ -13,6 +13,7 @@ if env["TEST"] :
if myenv.get("HAVE_OPENSSL") :
myenv.MergeFlags(myenv["OPENSSL_FLAGS"])
myenv.Append(CPPDEFINES = ["HAVE_OPENSSL"])
+ myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
tester = myenv.Program("TLSTest", [
"CertificateTest.cpp",