From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4127 invoked by alias); 21 Mar 2002 18:36:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4086 invoked by uid 71); 21 Mar 2002 18:36:01 -0000 Date: Thu, 21 Mar 2002 10:36:00 -0000 Message-ID: <20020321183601.4082.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: c++/6001: g++ problems with nested headers from > egcs-2.91.66 until 3.0.0 Reply-To: Neil Booth X-SW-Source: 2002-03/txt/msg00807.txt.bz2 List-Id: The following reply was made to PR c++/6001; it has been noted by GNATS. From: Neil Booth To: Mario Deilmann Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/6001: g++ problems with nested headers from > egcs-2.91.66 until 3.0.0 Date: Thu, 21 Mar 2002 18:31:05 +0000 Mario Deilmann wrote:- > again thanks for your help. The hint was very helpful to get the right > output but I cannot see why I got an error like > > /home/mdeil/bin/../include/g++-v3/sparc-sun-solaris2.7/bits/basic_file_model.h:39: > parse error before `;' token > > only because I changed the sequence of some includes. The code with the OK, thanks. The error is something subtle with the effects of changing the include order. Maybe some headers don't have guards and are being included twice. However, I _am_ sure the compiler is not at fault, so I'll close the PR. Neil.