[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.
http://stackoverflow.com/questions/7480217/c-forward-declaration-of-enums
More information about the Bf-committers
mailing list