Message-ID: <3A633C32.98253471@earthlink.net> From: Martin Ambuhl X-Mailer: Mozilla 4.76 [en]C-CCK-MCD (Win95; U) X-Accept-Language: en,zh-CN,fr,de-CH,ru MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Passing array to function trouble. References: <3A6295BE DOT D0CDFC6C AT earthlink DOT net> <93vaj5$59v$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 Date: Mon, 15 Jan 2001 18:08:41 GMT NNTP-Posting-Host: 165.247.25.20 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread2.prod.itd.earthlink.net 979582121 165.247.25.20 (Mon, 15 Jan 2001 10:08:41 PST) NNTP-Posting-Date: Mon, 15 Jan 2001 10:08:41 PST Organization: EarthLink Inc. -- http://www.EarthLink.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > > Jon wrote: > > Thank you for your help, I finally got it to work now. > > But please be aware of the importance of this little notice in Martin's > code: > > > Martin Ambuhl wrote in message > > news:3A6295BE DOT D0CDFC6C AT earthlink DOT net... > > >> /* An illustration of a non-standard gcc extension */ > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This means that this code is *not* guaranteed to do anything sensible > if you bring it to any other C compiler. It uses features of GCC that > don't exist in other compilers (yet). 1) This newsgroup is comp.os.msdos.djgpp, not comp.lang.c. However, that code IS permissable in comp.lang.c because ... 2) The current C standard includes this capability as well, so the "non-standard" notice only applies to C89 which is no longer the standard anyway. I should not have included that notice.