Ignore:
Timestamp:
Nov 30, 2001, 6:49:22 PM (24 years ago)
Author:
phaller
Message:

Fixed out-of-scope FIXME,TRACE,WARN macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msvfw32/msvideo_main.c

    r6712 r7502  
    4141#undef TRACE
    4242#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
    4352#define TRACE WriteLog("MSVFW32: %s", __FUNCTION__); WriteLog
    4453#define FIXME WriteLog("FIXME MSVFW32: %s", __FUNCTION__); WriteLog
Note: See TracChangeset for help on using the changeset viewer.