c++/6001: g++ problems with nested headers from > egcs-2.91.66 until 3.0.0

Neil Booth neil@daikokuya.demon.co.uk
Thu Mar 21 10:36:00 GMT 2002


The following reply was made to PR c++/6001; it has been noted by GNATS.

From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Mario Deilmann <Mario.Deilmann@pallas.com>
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.



More information about the Gcc-prs mailing list