On 7/9/2013 9:50 AM, Sebastian Huber wrote:
On 07/09/2013 02:21 PM, Vipul Nayyar wrote:
Seems like a valid point to me, that you got there.

Sebastian, What do you suggest ? Simply remove the 1 from '#define
USE_INTERRUPTS 1' or change #if defined() to simply #if  ?
I suggest to use one of the two methods suggested by Peter.  The #if one seems
to be more bullet proof, but I think in the RTEMS sources the #ifdef ones are
prevailing.

I think we need to be heading to the #if style.

As I mentioned, Chris and I recently discussed some cases where we
think BSPs may not be testing bspopts.h (e.g. configure.ac) constants
correctly.

--
Joel Sherrill, Ph.D.             Director of Research & Development
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to