Skip to content

Commit

Permalink
build/pkgs/onetbb/patches: Add oneapi-src/oneTBB@154cc73
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jun 17, 2023
1 parent 5d4c2fb commit d39809b
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
From 154cc73ca4d359621202399cc0c3c91058e56e79 Mon Sep 17 00:00:00 2001
From: Sam James <[email protected]>
Date: Wed, 22 Feb 2023 14:16:46 +0000
Subject: [PATCH] test: common: include <cstdlib> for abort() (fix build with
GCC 13) (#1031)

GCC 13 (as usual for new compiler releases) shuffles around some
internal includes and so <cstdint> etc is no longer transitively included.

See https://www.gnu.org/software/gcc/gcc-13/porting_to.html.

Signed-off-by: Sam James <[email protected]>
---
test/common/utils_assert.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/common/utils_assert.h b/test/common/utils_assert.h
index 1df8ae72ac..0123ab881e 100644
--- a/test/common/utils_assert.h
+++ b/test/common/utils_assert.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2005-2022 Intel Corporation
+ Copyright (c) 2005-2023 Intel Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,6 +20,8 @@
#include "config.h"
#include "utils_report.h"

+#include <cstdlib>
+
#define REPORT_FATAL_ERROR REPORT

namespace utils {

0 comments on commit d39809b

Please sign in to comment.