In running make check, I see a few errors, including these:
./attributes-test.h:491: Warning: "Attribute string with enum 139 {flood-color} not handled" ./attributes-test.h:491: Warning: "Attribute string with enum 140 {flood-opacity} not handled" ./attributes-test.h:496: Error: Assertion failed: !found ./attributes-test.h:501: Error: Test failed: "Enum round-trip through string {flood-color} failed." ./attributes-test.h:501: Error: Expected (index == postLookup), found (139 != 231) ./attributes-test.h:501: Error: Test failed: "Enum round-trip through string {flood-opacity} failed." ./attributes-test.h:501: Error: Expected (index == postLookup), found (140 != 232)
The problem is that those strings are mapped into the enum twice.
I think that either we need to get those in the enum only once, or that we need to change our architecture to split those ranges into two separate enums and sets of calls.
participants (1)
-
Jon A. Cruz