Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: detect non ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1075 of 1134
Post > Topic >>

Re: detect non reentrant function

by Jack Klein <jackklein@[EMAIL PROTECTED] > Apr 16, 2008 at 04:56 PM

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.
 




 3 Posts in Topic:
detect non reentrant function
SHP <iampardeshi@[EMAI  2008-04-13 02:41:33 
Re: detect non reentrant function
Jack Klein <jackklein@  2008-04-16 16:56:24 
Re: detect non reentrant function
Keith Thompson <kst@[E  2008-04-18 16:11:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 21:14:10 CDT 2008.