Georg Baum wrote:
Am Sonntag, 25. März 2007 15:25 schrieb Abdelrazak Younes:

Is there a more general problem WRT enum forward declaration in gcc? Or in the standard?

The latter. Forward declaring enums is not possible, since the compiler needs to know the definition of the enum in order to determine it's size. See e.g. the class LColor_color for a workaround.

OK thanks, I'll correct that. Sorry for the inconvenience.

I believe that it only compiled for you because of PCH or the new 'concatenate files' cmake feature.

Surely because of PCH because it was compiling before the new cmake feature.

Abdel.

Reply via email to