Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

typedef enum confuses Symbols browser

(1/1)

jomeggs:
Hi,

i found a little problem with the Symbols browser. If I write the following typedef in one of my header files, afterwards the Symbols browser seems to be confused. Some constructors and destructors of classes in the same file are suddenly listed under "Global functions".


--- Code: ---typedef enum ETerminalStates
{
 eStateUnknown=-1,   /**< noch nicht bekannt */
 eStateInactive=0,   /**< aktiviert/deaktiviert */
 eStateOffline=1,    /**< offline, nicht ansprechbar */
 eStateOnline=2,     /**< online */
 eStateModemOk=3     /**< letzte Modemkommunikation OK */
} TTerminalStates;

--- End code ---

But, if i write it like this (have a look to the last comment...) it works well.
(yes, I'm a docu freak... :D )


--- Code: ---typedef enum ETerminalStates
{
 eStateUnknown=-1,   /**< noch nicht bekannt */
 eStateInactive=0,   /**< aktiviert/deaktiviert */
 eStateOffline=1,    /**< offline, nicht ansprechbar */
 eStateOnline=2,     /**< online */
 /** letzte Modemkommunikation OK */
 eStateModemOk=3
} TTerminalStates;

--- End code ---

mandrav:
Thanks for pointing this out and also supplying a simple test case.
Fixed in r5002.

jomeggs:

--- Quote from: mandrav on April 14, 2008, 10:15:06 am ---Fixed in r5002.

--- End quote ---

Thank you, that's quite fast!

Navigation

[0] Message Index

Go to full version