Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6095

Constants of unnamed enums not found by lookup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Fixed
    • 6.00.beta2
    • 6.26/00
    • Cling
    • None
    • Any

    Description

      [cling]$ typedef enum {k1, k2} E;
      [cling]$ E var = k2;
      input_line_5:2:10: error: use of undeclared identifier 'k2'
       E var = k2;
               ^

      Attachments

        Activity

          People

            jalopezg Javier Lopez Gomez
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: