stringify macro issue [was: Re: GCC 3.4.x + RTEMS 4.6.2 release.]

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Fri Jan 14 12:22:15 UTC 2005


Ralf Corsepius wrote:
> On Thu, 2005-01-13 at 23:56 +0100, Karel Gardas wrote:
> 
>>On Thu, 13 Jan 2005, Joel Sherrill <joel at OARcorp.com> wrote:
>>
>>
>>>Karel Gardas wrote:
>>>
>>>>Hello,
>>>>
>>>>I've found the reason why I had these strange issues with gcc3.2.3 and
>>>>rtems 4.6.2. I've found them since I've also started to have them with
>>>>rtems trunk and gcc3.4.3. The reason is that we write code like:
> 
> 
>>>>while RTEMS seems to define stringify macro:
>>>>
>>>>     145
>>>>     146 #define stringify( _x ) # _x
>>>>     147
>>>
>>>That means RTEMS violates the application namespace.  That
>>>should be rtems_stringify.
>>
>>True
>>
>>
>>>But I don't see it used in RTEMS so it could be considered obsolete
>>>and purged at this point.
>>
>>Should I fill PR?
> 
> I went ahead, filed a PR and kicked out stringify from rtems-4-6-branch
> and cvs-trunk.


Wow!!  It is only 6:20 AM here, I haven't even gotten completely
through my inbox and Ralf has already done it.

Thanks Ralf.

--joel


> Ralf
> 
> 


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




More information about the users mailing list