Skip to content

Commit

Permalink
Add some missing cstdint includes
Browse files Browse the repository at this point in the history
Newer versions of GCC have become more strict about this, resulting in
errors similar to the following:
In file included from /<<PKGBUILDDIR>>/core/include/ikos/core/domain/machine_int/abstract_domain.hpp:47,
                 from /<<PKGBUILDDIR>>/core/include/ikos/core/domain/machine_int/interval.hpp:46,
                 from /<<PKGBUILDDIR>>/analyzer/src/analysis/pointer/pointer.cpp:48:
/<<PKGBUILDDIR>>/core/include/ikos/core/domain/machine_int/operator.hpp:97:24: error: ‘uint64_t’ has not been declared
   97 |                        uint64_t result_bit_width,
      |                        ^~~~~~~~
  • Loading branch information
swt2c committed Jan 18, 2024
1 parent 1185cc8 commit 73c8166
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/include/ikos/core/domain/machine_int/operator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

#pragma once

#include <cstdint>

#include <ikos/core/number/signedness.hpp>
#include <ikos/core/support/assert.hpp>

Expand Down
1 change: 1 addition & 0 deletions core/include/ikos/core/semantic/indexable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#pragma once

#include <cstddef>
#include <cstdint>

#include <ikos/core/support/mpl.hpp>

Expand Down

0 comments on commit 73c8166

Please sign in to comment.