[EMAIL PROTECTED] wrote:
> I'll be putting in more of the "obsolete...use this instead"
> compiler errors

BTW, the #error usage in <CharAttr.h> 3.1 alpha doesn't work:

  #ifdef NON_INTERNATIONAL
  #define ChrIsHardKey(c) ( ...old definition... )
  #else
  #define ChrIsHardKey(c) #error "Obsolete - use TxtCharIsHardKey"
  #endif

You can't put an #error directive in a #define like that; the compiler
reports a syntax error at the point of the macro expansion, instead of
printing the error text cleanly.  (CodeWarrior R5.1 at least.)

-slj-

Reply via email to