diff options
| author | Tobias Markmann <tm@ayena.de> | 2015-07-24 15:42:17 (GMT) |
|---|---|---|
| committer | Tobias Markmann <tm@ayena.de> | 2015-07-24 15:42:17 (GMT) |
| commit | 744884d4ed76658880a3d25f6e6551ef92700a8f (patch) | |
| tree | 5fd09d05a22a9d2f10ac937e402bd68a23fec4e2 /BuildTools/CheckHeaders.py | |
| parent | 6ca201d0b48f4273e24dd7bff17c4a46eeaddf39 (diff) | |
| download | swift-744884d4ed76658880a3d25f6e6551ef92700a8f.zip swift-744884d4ed76658880a3d25f6e6551ef92700a8f.tar.bz2 | |
Add missing includes for dependencies in public header files
Added Swiften/Base/Concat.h to the exception list for <algorithm>
include, as Concat.h uses std::copy, defined in <algorithm>.
Added Swiften/FileTransfer/S5BTransportSession.h to the exception
list for <boost/bind.hpp> include, as S5BTransportSession.h
declares a template class using boost::bind.
Test-Information:
Tested that each of Swiften's public header files compiles on its
own.
Change-Id: Iac794b6e0f5959cd8261888a67761813b710fe85
Diffstat (limited to 'BuildTools/CheckHeaders.py')
| -rwxr-xr-x | BuildTools/CheckHeaders.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/CheckHeaders.py b/BuildTools/CheckHeaders.py index b599099..8d20f4e 100755 --- a/BuildTools/CheckHeaders.py +++ b/BuildTools/CheckHeaders.py | |||
| @@ -4,12 +4,12 @@ import os, sys | |||
| 4 | 4 | ||
| 5 | FORBIDDEN_INCLUDES = [ | 5 | FORBIDDEN_INCLUDES = [ |
| 6 | ("iostream", ["Swiften/Base/format.h"]), | 6 | ("iostream", ["Swiften/Base/format.h"]), |
| 7 | ("Base/Log.h", []), | 7 | ("Base/Log.h", []), |
| 8 | ("Base/format.h", []), | 8 | ("Base/format.h", []), |
| 9 | ("algorithm", ["Swiften/Base/Algorithm.h", "Swiften/Base/SafeAllocator.h", "Swiften/Base/Listenable.h"]), | 9 | ("algorithm", ["Swiften/Base/Algorithm.h", "Swiften/Base/SafeAllocator.h", "Swiften/Base/Listenable.h", "Swiften/Base/Concat.h"]), |
| 10 | ("boost/bind.hpp", ["Swiften/Base/Listenable.h"]), | 10 | ("boost/bind.hpp", ["Swiften/Base/Listenable.h", "Swiften/FileTransfer/S5BTransportSession.h"]), |
| 11 | ("boost/filesystem.hpp", []), | 11 | ("boost/filesystem.hpp", []), |
| 12 | ("Base/foreach.h", []), | 12 | ("Base/foreach.h", []), |
| 13 | ("boost/date_time/date_time.hpp", []), | 13 | ("boost/date_time/date_time.hpp", []), |
| 14 | ("boost/filesystem/filesystem.hpp", []), | 14 | ("boost/filesystem/filesystem.hpp", []), |
| 15 | 15 | ||
Swift