You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import cppyy
code = """
using type = std::byte; // or any other enum smaller than 4 bytes
type x{};
std::array<char,4> a = {1,2,3,4};
"""
cppyy.cppdef(code)
print(hex(cppyy.gbl.x))
cppyy.gbl.x = 0x0fffffff
print([ord(cppyy.gbl.a[i]) for i in range(4)])
Describe the bug
I originally reported a bug in cppyy, wlav/cppyy#215, but was told it's a Cling issue that it's "unable to resolve the type".
Expected behavior
To Reproduce
The combination of
is required to reproduce this behavior.
Setup
cppyy 3.0.0 and 3.1.2.
Additional context
See the bug report in cppyy, wlav/cppyy#215.
The text was updated successfully, but these errors were encountered: