From 44e35e0652655c3d9a5f26b6ca2b47f070432665 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 17 May 2021 10:48:48 +0100 Subject: [PATCH] Fix compilation errors with GCC 11 --- liblangutil/SourceLocation.h | 1 + tools/yulPhaser/AlgorithmRunner.h | 1 + tools/yulPhaser/Chromosome.h | 1 + tools/yulPhaser/GeneticAlgorithms.h | 1 + tools/yulPhaser/PairSelections.h | 1 + tools/yulPhaser/Phaser.h | 1 + tools/yulPhaser/Population.h | 1 + tools/yulPhaser/Program.h | 1 + tools/yulPhaser/ProgramCache.h | 1 + tools/yulPhaser/Selections.h | 1 + tools/yulPhaser/SimulationRNG.h | 1 + 11 files changed, 11 insertions(+) diff --git a/liblangutil/SourceLocation.h b/liblangutil/SourceLocation.h index 4b7122de3..eb858bd06 100644 --- a/liblangutil/SourceLocation.h +++ b/liblangutil/SourceLocation.h @@ -28,6 +28,7 @@ #include +#include #include #include diff --git a/tools/yulPhaser/AlgorithmRunner.h b/tools/yulPhaser/AlgorithmRunner.h index 71f71bb3d..6e3804a1a 100644 --- a/tools/yulPhaser/AlgorithmRunner.h +++ b/tools/yulPhaser/AlgorithmRunner.h @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/tools/yulPhaser/Chromosome.h b/tools/yulPhaser/Chromosome.h index 96477086f..7dd0a32d9 100644 --- a/tools/yulPhaser/Chromosome.h +++ b/tools/yulPhaser/Chromosome.h @@ -18,6 +18,7 @@ #pragma once +#include #include #include #include diff --git a/tools/yulPhaser/GeneticAlgorithms.h b/tools/yulPhaser/GeneticAlgorithms.h index 58dc83b95..936139aff 100644 --- a/tools/yulPhaser/GeneticAlgorithms.h +++ b/tools/yulPhaser/GeneticAlgorithms.h @@ -24,6 +24,7 @@ #include #include +#include #include namespace solidity::phaser diff --git a/tools/yulPhaser/PairSelections.h b/tools/yulPhaser/PairSelections.h index 2a4144bcb..2bdc62a24 100644 --- a/tools/yulPhaser/PairSelections.h +++ b/tools/yulPhaser/PairSelections.h @@ -23,6 +23,7 @@ #pragma once #include +#include #include #include diff --git a/tools/yulPhaser/Phaser.h b/tools/yulPhaser/Phaser.h index 20a47a3a5..822d638a2 100644 --- a/tools/yulPhaser/Phaser.h +++ b/tools/yulPhaser/Phaser.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/tools/yulPhaser/Population.h b/tools/yulPhaser/Population.h index b8cde75cc..00c3e0d30 100644 --- a/tools/yulPhaser/Population.h +++ b/tools/yulPhaser/Population.h @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/tools/yulPhaser/Program.h b/tools/yulPhaser/Program.h index 8eec71be2..d0eb8e197 100644 --- a/tools/yulPhaser/Program.h +++ b/tools/yulPhaser/Program.h @@ -23,6 +23,7 @@ #include +#include #include #include #include diff --git a/tools/yulPhaser/ProgramCache.h b/tools/yulPhaser/ProgramCache.h index 4c145d537..d7eb70d63 100644 --- a/tools/yulPhaser/ProgramCache.h +++ b/tools/yulPhaser/ProgramCache.h @@ -22,6 +22,7 @@ #include +#include #include #include diff --git a/tools/yulPhaser/Selections.h b/tools/yulPhaser/Selections.h index a643b9a22..88264e25a 100644 --- a/tools/yulPhaser/Selections.h +++ b/tools/yulPhaser/Selections.h @@ -23,6 +23,7 @@ #pragma once #include +#include #include namespace solidity::phaser diff --git a/tools/yulPhaser/SimulationRNG.h b/tools/yulPhaser/SimulationRNG.h index 7e5cc1442..b36aeba24 100644 --- a/tools/yulPhaser/SimulationRNG.h +++ b/tools/yulPhaser/SimulationRNG.h @@ -20,6 +20,7 @@ #include +#include #include namespace solidity::phaser