Hi,

trying to compile NSAnimation on older compilers is a nightmare (like gcc 2.95). I fixed some trivial stuff, but then stopped: the main problem is the _NSANIMATION_LOCK macro. Since this macro defines a variable in it,

#define _NSANIMATION_LOCK           \
  BOOL __gs_isLocked = NO;          \
  if (_isThreaded)                  \
  {                                 \
    __gs_isLocked = YES;            \
    NSDebugFLLog(@"NSAnimationLock",\
                 @"%@ LOCK %@",self,[NSThread currentThread]);\
    [_isAnimatingLock lock];        \
  }


it causes a hidden "c99-ism" everywhere. If the definition of __gs_isLocked inside the macron can be avoided or the macroitself can be avoided, I think the code would be cleaner.

Ideas? Who maintains this?

-Riccardo



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to