Ignore:
Timestamp:
Nov 30, 2001, 8:02:33 PM (24 years ago)
Author:
sandervl
Message:

removed TRACE/WARN macro redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/storage32.c

    r7502 r7508  
    3737#define FILE_BEGIN 0
    3838
    39 #ifdef __WIN32OS2__
    40 #undef FIXME
    41 #undef TRACE
    42 #ifdef DEBUG
    43 // PH 2001-11-30
    44 // this macro definition causes the control leave the scope of a
    45 // non-curly-braced preceeding if statement. Therefore,
    46 //   if (p!=NULL)
    47 //      TRACE("p->a=%d", p->a)
    48 // crashes.
    49 //
    50 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
    51 // !!! ARE PUT INTO CURLY BRACES
    52 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    53 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
    54 #else
    55 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    56 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    57 #endif
    58 #endif
    5939
    6040
     
    13881368
    13891369  if ((ciidExclude != 0) || (rgiidExclude != NULL) || (snbExclude != NULL))
    1390   {
    13911370    FIXME("Exclude option not implemented\n");
    1392   }
    13931371
    13941372  TRACE("(%p, %ld, %p, %p, %p)\n",
     
    53595337
    53605338  if (grfMode & STGM_TRANSACTED)
    5361   {
    53625339    FIXME("Transacted mode not implemented.\n");
    5363   }
    53645340
    53655341  /*
     
    59675943  /* All other cases */
    59685944  if (stgm & ~ (STGM_CREATE|STGM_CONVERT))
    5969   {
    5970     FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT));
    5971   }
     5945        FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT));
    59725946  return CREATE_NEW;
    59735947}
Note: See TracChangeset for help on using the changeset viewer.