GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #6779

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Carel Fellinger
Subject: pointer forward decl bug
Date: 18 Apr 2002, 19:07:01

On Thu, Apr 18, 2002 at 10:42:23AM +0200, Adam Naumowicz wrote:
...
> As far as I got the ISO standard correct, the 'pword' definition should only
> be considered a foreward declaration of 'word' when 'word' is undefined
> and has a definition later in the same block. So the current behaviour of GPC

Well, according to iso10206 and iso7185, section 6.2.2.5 in both:
    
    6.2.2.5
    
    When an identifier or label has a defining-point for region A and
    another identifier or label having the same spelling has a
    defining-point for some region B enclosed by A, then region B and
    all regions enclosed by B shall be excluded from the scope of the
    defining-point for region A.
    
To me this contradicts your `when .. is undefined', so I still think it's
a bug.

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Maurice Lombardi pointer forward decl bug 19 Apr 2002, 11:25:19
CBFalconer pointer forward decl bug 21 Apr 2002, 20:54:46

In reply to

Author Subject Date
Ernst-Ludwig Bohnen pointer forward decl bug 18 Apr 2002, 09:35:00
Adam Naumowicz pointer forward decl bug 18 Apr 2002, 10:42:23

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).