[Bf-committers] int vs enum use?

David Jeske davidj at gmail.com
Mon Jul 8 03:10:25 CEST 2013

On Sun, Jul 7, 2013 at 3:53 PM, Brecht Van Lommel <
brechtvanlommel at pandora.be> wrote:

> One reason is that you can't do forward declarations of enums in
> header files [in ISO C] like you can do with structs.

I see my confusion. gcc has a non-standard extension to support forward
declarations of enums, so it worked fine for me. However, it's not ISO
standard, and as far as I can see MSVC doesn't support it.


More information about the Bf-committers mailing list