[IGSTK-Developers] Borland compiler and StateMachine macro

Julien Jomier jjomier at cs.unc.edu
Mon Apr 18 17:40:39 EDT 2005


Hi all,

I was looking at the compiling error on bcc32 and found out that Borland 
compiler doesn't like:

   private: ;

The problem comes from the macro

igstkStateMachineMacro();

This macro ends by: 'private:' so the semicolon at the end causes bcc to 
report an error.

We have two options (AFAIK):

1) write:
   igstkStateMachineMacro()

instead of

   igstkStateMachineMacro();

2) Add something like: 'char dummy' at the end of the macro...

I prefer the second option and maybe there is another alternative,
let me know what you think,

thanks,

Julien




More information about the IGSTK-Developers mailing list