odd use of preprocessor

Ellery Newcomer ellery-newcomer at utulsa.edu
Sun Nov 6 11:43:15 PST 2011


poking about in elfutils headers, I've come across the following idiom
several times

/* Error values.  */
enum
  {
    DW_TAG_invalid = 0
#define DW_TAG_invalid  DW_TAG_invalid
  };


anyone know if anything strange is going on here that would prevent
trivial conversion to d?


More information about the Digitalmars-d-learn mailing list