On Oct 2, 2008, at 1:52 AM, Tobias Drößler wrote:

Hey,

my question is in the subject-line ...

i try to understand  some  c-sources ...

i read that this line in "genearal" c (compiler depended) means that the function(s) can be re-entered while it is already running. but compiled with the avr-gcc -- there is no effect in the programcode, or is that wrong?

I haven't seen any need for it in avr-gcc, but Metrowerks C for the HC12 requires a similar modification to a function definition if it is to be reentrant. Metrowerks rewrites and reorders one's code much more aggressively than I've seen of avr-gcc.

Would not be surprised if there are gcc targets which require this pragma.

--
David Kelly N4HHE, [EMAIL PROTECTED]
========================================================================
Whom computers would destroy, they must first drive mad.





_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to