build: use more explicit headers
This commit is contained in:
parent
2a16ac4163
commit
dd1e9bbbd7
@ -11,9 +11,11 @@
|
||||
#include "annotation.hpp"
|
||||
#include "debug/assert.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
namespace cruft::ascii {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// Returns true if the supplied character is an ASCII digit.
|
||||
|
@ -10,7 +10,9 @@
|
||||
|
||||
#include "debug/assert.hpp"
|
||||
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
|
1
cast.hpp
1
cast.hpp
@ -18,6 +18,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
namespace cruft::cast {
|
||||
|
@ -8,9 +8,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "./panic.hpp"
|
||||
#include "../platform.hpp"
|
||||
#include "../maths.hpp"
|
||||
|
||||
//#include "maths.hpp" // XXX: See notes at the end of file for maths.hpp inclusion
|
||||
#include "debugger.hpp"
|
||||
|
||||
#include <utility>
|
||||
@ -422,10 +423,3 @@ warn_return (
|
||||
warn (message);
|
||||
return std::forward<ValueT> (value);
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// XXX: maths needs to be included so that CHECK_EQ/NEQ can call almost_equal,
|
||||
// but maths.hpp might be using CHECK_ macros so we must include maths.hpp
|
||||
// after we define the CHECK_ macros so the preprocessor can resolve them.
|
||||
#include "../maths.hpp"
|
||||
|
@ -7,6 +7,9 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "./assert.hpp"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace cruft::debug {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "../view.hpp"
|
||||
#include "../introspection/name.hpp"
|
||||
#include "../log.hpp"
|
||||
#include "../typeidx.hpp"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "description.hpp"
|
||||
|
||||
#include "../debug/assert.hpp"
|
||||
#include "../maths.hpp"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user