name clash question
    Till Straumann 
    strauman at SLAC.Stanford.EDU
       
    Thu Aug  9 18:54:03 UTC 2001
    
    
  
I found (while compiling EPICS-base under RTEMS) that many rtems
include files define a macro
#define delay( )  something
One of these found its way through installation into libcpu/cpu.h
Obviously, this leads to obscure compiling errors in an application
that does e.g.
#include <rtems.h> /* implicitely includes libcpu/cpu.h with delay
macro */
static int delay(void)
{
/* do something */
}
Is the existence of the "delay" macro an RTEMS "feature" or should the
namespace be cleaned up?
Regards, Till.
    
    
More information about the users
mailing list