jextract emits duplicate symbols for macro clashing with enum constants

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Consider this program:

      enum EPOLL_EVENTS
        {
          EPOLLONESHOT = 1u << 30,
      #define EPOLLONESHOT EPOLLONESHOT
        };

      The generated code contains a definition for EPOLLONESHOT twice (one for the enum constant, one for the macro).

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: