[Openmp-commits] [PATCH] D137543: [Support] Add missing <cstdint> header to common.h
Limin Zhang via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Nov 7 05:04:55 PST 2022
Ami-zhang created this revision.
Ami-zhang added reviewers: SixWeining, wangleiat, xen0n, MaskRay, xry111, prcups.
Herald added a subscriber: StephenFan.
Herald added a project: All.
Ami-zhang requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
Without the change openmp tests fail on gcc-13 snapshot as:
In file included from openmp/runtime/test/tasking/hidden_helper_task/depend.cpp:32:
openmp/runtime/test/tasking/hidden_helper_task/common.h:11:22: error: unknown type name 'intptr_t'; did you mean '__intptr_t'?
using kmp_intptr_t = intptr_t;
^~~~~~~~
In file included from openmp/runtime/test/tasking/hidden_helper_task/taskgroup.cpp:26:
openmp/runtime/test/tasking/hidden_helper_task/common.h:11:22: error: unknown type name 'intptr_t'; did you mean '__intptr_t'?
using kmp_intptr_t = intptr_t;
^~~~~~~~
In file included from openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp:33:
openmp/runtime/test/tasking/hidden_helper_task/common.h:11:22: error: unknown type name 'intptr_t'; did you mean '__intptr_t'?
using kmp_intptr_t = intptr_t;
^~~~~~~~
In file included from openmp/runtime/test/tasking/hidden_helper_task/affinity.cpp:43:
openmp/runtime/test/tasking/hidden_helper_task/common.h:11:22: error: unknown type name 'intptr_t'; did you mean '__intptr_t'?
using kmp_intptr_t = intptr_t;
^~~~~~~~
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137543
Files:
openmp/runtime/test/tasking/hidden_helper_task/common.h
Index: openmp/runtime/test/tasking/hidden_helper_task/common.h
===================================================================
--- openmp/runtime/test/tasking/hidden_helper_task/common.h
+++ openmp/runtime/test/tasking/hidden_helper_task/common.h
@@ -1,6 +1,7 @@
#include <cassert>
#include <iostream>
#include <string>
+#include <cstdint>
extern "C" {
struct ident_t;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137543.473624.patch
Type: text/x-patch
Size: 380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221107/6fefc82f/attachment-0001.bin>
More information about the Openmp-commits
mailing list