On Sun, 13 Apr 2008 02:41:33 -0500 (CDT), SHP <iamparde****@[EMAIL PROTECTED]
>
wrote in comp.lang.c.moderated:
> Hi
> Is there a way to detect the usage of non reentrant functions at
> compile time? Any gcc option?
The C standard does not specify anything at all about reentrancy.
Which means that, first you have to define what you mean by that term,
and second, depending on what you mean, it is not a language question.
All C functions may be called recursively. That is specified by the C
standard.
If you have questions about gcc specific options, ask in a gcc
specific group.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.para****ft.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|