Can Enum's be declared forward?
Posted on 1998-03-19
I am trying to switch from Microsoft Vissual C++ to Borland C++ Builder 3. In VC I have dozens of cases of foreward declared enum's (created by a utuility) that look like this
* * *
This worked fine in VC, but is causing a problem for BC. It complains that the
'SomeEnum' must be a previously defined enumeration tag.
So VC thinks it is legal and BC seems to think it is not. Who is right? Is there a way to get this past BC? (Other than moving the enum declaration).