This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: 3.0 20010305 (prerelease) gen-num-limits.cc compile failure o n alpha-dec-osf4.0e
- To: Bruce Korb <bkorb at allegronetworks dot com>
- Subject: RE: 3.0 20010305 (prerelease) gen-num-limits.cc compile failure o n alpha-dec-osf4.0e
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Thu, 8 Mar 2001 22:20:26 +0100 (MET)
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, gcc-bugs at gcc dot gnu dot org, rdbrown at mira dot net, bkorb at gnu dot org
- References: <B4DFCB7CDE2DD4118F690008C78694167B36D9@tahoe.allegronetworks.com>
> This won't do what the comment claims it will do.
> This will always ignore all files named, "standards.h".
> The comment says it is for Tru64 UNIX. You must add
> some selection or bypass criteria to ensure you do not
> suppress the fixing of standards.h files that need fixes.
This what the `select' text is for: it's taken from the V4.0F and V5.1
<standards.h> files on Tru64 UNIX and may be a better criterion than some
Digital Equipment copyright (which may well change to Compaq in the
future). Another option might be a
mach = alpha*-dec-osf*;
clause, but this might not hold for older (or newer) Tru64 releases.
> > +fix = {
> > + hackname = AAA_standards;
> > + files = standards.h;
> > + select = 'GNU and MIPS C compilers define __STDC__
> > differently';
> > + replace; /* empty replacement -> no fixing the file */
> > +};
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE