This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Minor doc updates.


On Thu, Aug 01, 2002 at 03:29:22PM -0400, Phil Edwards wrote:
> On Thu, Aug 01, 2002 at 12:19:16PM -0700, Zack Weinberg wrote:
> > What do you think of this patch?  I documented the strings, and I have
> > GCC issue a warning when time/localtime fail.  I've done cursory
> > testing by LD_PRELOAD-ing a fake time() that always fails:
> The code patch looks correct to my untrained eyes.

I'm bootstrapping it now, and will check it in if it succeeds.

> > +If GCC cannot determine the current time, it will emit a warning message
> > +(once per compilation) and __TIME__ will expand to @code{@w{"??:??:??"}}.
> 
> Should __DATE__ and __TIME__ be enclosed in @code{} here?  They are elsewhere
> in your patch.

Yes, you're right.  Fixed in my copy.

zw


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