delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/15/13:36:35

Message-ID: <3A633C32.98253471@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
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: <rxq86.4295$wt2 DOT 34296 AT news1 DOT oke DOT nextra DOT no> <3A6295BE DOT D0CDFC6C AT earthlink DOT net> <sNz86.4512$wt2 DOT 38272 AT news1 DOT oke DOT nextra DOT no> <93vaj5$59v$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
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 <lennier AT online DOT no> 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 <mambuhl AT earthlink DOT net> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019