delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/16/03:45:07

Message-ID: <3E742E0D.524C995F@bluewin.ch>
Date: Sun, 16 Mar 2003 08:55:57 +0100
From: Simon Bachmann <simonbachmann AT bluewin DOT ch>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: data access in nested classes
References: <3E739182 DOT 6E629D7A AT bluewin DOT ch> <0he77vsrbu987q73b936sl71b4lpu0vd2b AT 4ax DOT com>
NNTP-Posting-Host: 213.3.171.33
X-Original-NNTP-Posting-Host: 213.3.171.33
X-Trace: news.bluewin.ch 1047801148 213.3.171.33 (16 Mar 2003 08:52:28 +0100)
Organization: Bluewin AG
Lines: 32
Complaints-To: abuse AT bluewin DOT ch
X-Original-NNTP-Posting-Host: 127.0.0.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> 
> >I've got a problem with gpp(version 3.1), I don't know if it's a problem
> >of gpp intself or of the ported vesion. I've got gcc under linux too,
> >and here the problem doesn't exist, but it's another version.... (2.7).
> >
> >That's the problem:
> >wen I create two nested classes and try to access from the one to the
> >other's private data, (without making it a friend) the compiler should
> >give me an error message. Well, it doesn't!
> I am not familiar with nesting classes, but GCC 3.2.2 is the latest
> available for DJGPP and with all of the GCC 3.x.y series with each
> release there is more compliance added in to the C++ standard.
> 
> You may want to have a look at the changes between the 3.1 and the
> 3.2.2 to see if this has been fixed and if not try it on Linux with
> the 3.2.2 and if it is not there then it is a DJGPP specific bug
> otherwise it is a GCC bug. If it is a GCC bug then check the GCC bug
> list to see if it has allready been reported and if not please report
> it to them.
When I'll have compiled successfull gcc 3.2.2 under linux (I've got some
problems) I'll try it..
 
> Please remember that the GCC maintainers do NOT read this newsgroup.
I already knew that...
 
> Andrew

Simon


-- A computer without Windows is like a piece of chocolate cake without
mustard! --

- Raw text -


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