bsp.am

Ralf Corsepius ralf.corsepius at rtems.org
Sun Dec 2 23:03:39 UTC 2007


On Sun, 2007-12-02 at 12:20 -0800, Till Straumann wrote:
> I propose to introduce a CPP symbol
> 
> __RTEMS_INSIDE_BSP__
> 
> It should be defined only during compilation of the BSP so that
> internal interfaces defined in some headers could be protected
> from being exposed to application code.
> 
> Does this make sense?
IMO, no. All such defines do is to play down bad code and to cater bad
programming practices (BSP API violations).


Ralf





More information about the users mailing list