build: add missing headers for GCC 15

For using fixed width integer types[1], the `<cstdint>`[2]
C++ header needs to be explicitly included with GCC 15 due
to changes[3] in libstdc++.

For details, see the documentation[4] about porting to GCC 15.

[1] https://en.cppreference.com/w/cpp/types/integer
[2] https://en.cppreference.com/w/cpp/header/cstdint
[3] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
[4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx

Signed-off-by: Daniel Bermond <dbermond@archlinux.org>
This commit is contained in:
Daniel Bermond 2025-05-10 13:04:47 -03:00
parent 7d9399e836
commit fa853b9fdb
No known key found for this signature in database
GPG Key ID: E85B8683EB48BC95
10 changed files with 16 additions and 6 deletions

View File

@ -1,10 +1,11 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>

View File

@ -11,6 +11,7 @@
#include "igfxfmid.h"
#include <cstdint>
#include <memory>
#include <string>

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -11,6 +11,7 @@
#include "shared/source/utilities/const_stringref.h"
#include <algorithm>
#include <cstdint>
#include <fstream>
#include <map>
#include <memory>

View File

@ -1,11 +1,12 @@
/*
* Copyright (C) 2020-2023 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <memory>
namespace NEO {
struct HardwareInfo;

View File

@ -6,6 +6,7 @@
*/
#pragma once
#include <cstdint>
#include <memory>
namespace NEO {

View File

@ -1,11 +1,12 @@
/*
* Copyright (C) 2018-2023 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <memory>
#include <string>
#include <vector>

View File

@ -1,11 +1,12 @@
/*
* Copyright (C) 2019-2022 Intel Corporation
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <memory>
#include <vector>

View File

@ -1,11 +1,12 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <memory>
#include <optional>

View File

@ -10,6 +10,7 @@
#include "shared/source/utilities/arrayref.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <unordered_map>

View File

@ -8,6 +8,7 @@
#pragma once
#include "shared/source/helpers/string.h"
#include <cstdint>
#include <string>
namespace NEO {