Open zRegle opened 8 months ago
I can't reproduce the problem with that snippet alone. Are the "more types" still data-less variants?
I can't reproduce the problem with that snippet alone. Are the "more types" still data-less variants?
Yes, the rest of the enum definition are all simple variants. BTW, it this problem could be releated to my GLIBCXX version? I can reproduce this problem on machine with GLIBCXX_3.4.28
Are your types related to GLIBCXX? Otherwise I see no reason why GLIBCXX would affect this.
I noticed that your example code has a different derive
line than the one in your error message. Are you sure that you've correctly identified which type is raising this error?
I'm using
bindgen
to create a enum, here is the generated code.And I got this compile error:
num-derive
version: 0.3.3Can anyone give me some advice? Thx in advance!