mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
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=3a817a4a5a6d94da9127af3be9f84 [4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx Signed-off-by: Daniel Bermond <dbermond@archlinux.org>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b8805fa1ae
commit
e0362a7c39
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user