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]
Other format: [Raw text]

Re: libstdc++/8887: locale


Synopsis: locale

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Tue Dec 10 15:45:41 2002
Responsible-Changed-Why:
    Analyzed a bit.
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Tue Dec 10 15:45:41 2002
State-Changed-Why:
    What are you actually getting at run time?
    If, paying attention to the warning ;), I modify line #8
    of your testcase from
      tm* lt = localtime(&time(0));
    to something like
      time_t tt = time(0);
      tm* lt = localtime(&tt);
    The date is correctly printed twice on my i686-pc-linux-gnu
    box.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8887


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