abi-compliance-checker icon indicating copy to clipboard operation
abi-compliance-checker copied to clipboard

struct member updated to union generates false-positive incompatibility

Open dkogan opened this issue 7 years ago • 0 comments

Hi. I'm comparing the API/ABI of a library that had

struct { int x; };

To one that has

struct { union {int x,y}; };

This should be a backwards-compatible change: the old sources can still refer to element 'x' by name and get the right thing. But abi-compliance checker sees this as a rename from 'x' to 'unnamed0', and flags it as an incompatibility.

dkogan avatar Apr 23 '17 08:04 dkogan