This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: strange bug that doesn't occur in Linux, OpenBSD or ITS
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 20 Feb 2012 09:48:26 +0100
- Subject: Re: strange bug that doesn't occur in Linux, OpenBSD or ITS
- Authentication-results: mr.google.com; spf=pass (google.com: domain of rcsaba@gmail.com designates 10.229.77.69 as permitted sender) smtp.mail=rcsaba@gmail.com; dkim=pass header.i=rcsaba@gmail.com
- References: <1329589939.95502.YahooMailNeo@web120301.mail.ne1.yahoo.com> <loom.20120219T012137-323@post.gmane.org>
On Sun, Feb 19, 2012 at 1:29 AM, Mark Geisert wrote:
>
> 4. You've coded functions nested inside main(). ?I haven't seen that practice
> in C language before but apparently it works. ?Color me impressed.
It's a non-portable GCC extension:
http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html#Nested-Functions
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple