[Bug preprocessor/115903] libcpp/macro.cc:528:19: style: Obsolete function 'asctime' called
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 13 07:52:50 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115903
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the path to hit this is __TIMESTAMP__ .
/* Generate __TIMESTAMP__ string, that represents
the date and time of the last modification
of the current source file. The string constant
looks like "Sun Sep 16 01:03:52 1973". */
if I did this correctly then the format should be:
"%a %b %d %T %Y\n"
More information about the Gcc-bugs
mailing list