[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doubt in C reg. Local function definition
From: |
Glynn Clements |
Subject: |
Re: doubt in C reg. Local function definition |
Date: |
22 May 2004 02:55:58 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Security Through Obscurity) |
Tristan Van Berkom <vantr@touchtunes.com> writes:
> Aravind Perumal > can any of u let me know Y gcc compiler not giving warning
> Aravind Perumal > if i define a function with in a function.
>
> I think you can throw that into the GNU C extension bucket, you might
> be able to disable extentions with some gcc command line options; but
> by default they are ON.
The -pedantic switch will cause gcc to generate a warning if any gcc
extensions are used, while the -pedantic-errors switch will cause gcc
to generate an error in such cases.
--
Glynn Clements <glynn.clements@virgin.net>