aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2026-09-05 22:45:39 +0000
committerRyan Libby <rlibby@FreeBSD.org>2026-09-06 00:58:36 +0000
commit2e33355ee2bfa0b6d7b61aeca66d9b2b2b7b9e56 (patch)
treede682cc137fffb822f9f3acf41bb1316f2e98a74 /packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp
parent3581b6db62b1a2146014b3196f18bde3fc33010d (diff)
pmc: avoid illegal flexible array memberHEADmain
Remove struct pmchdr_cpuidinfo which was just a wrapper around a flexible array member of uint32_t. Flexible array members are non-standard in C++, and even in C are not allowed as the only member of a struct. GCC errored out on pmchdr_cpuidinfo, but did not complain about pmchdr_pmcinfo, so I left it alone here, though it is also non-standard. Fixes: 93da997ef759 ("pmc: new pmc log processing framework") Reviewed by: Ali Mashtizadeh <ali@mashtizadeh.com> Differential Revision: https://reviews.freebsd.org/D59355
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp')
0 files changed, 0 insertions, 0 deletions