This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 3.0 20010305 (prerelease) gen-num-limits.cc compile failure o n alpha-dec-osf4.0e



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]