[Bug libstdc++/82427] gcc-7.2.1 error: '::mktime' has not been declared using ::mktime;
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 4 11:44:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82427
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-10-04
Component|libgcc |libstdc++
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This has nothing to do with libgcc.
The answer is probably that you've got some heaer file called time.h in your
include paths, and that is being found instead of /usr/include/time.h
WHen creating this bug you were asked to read https://gcc.gnu.org/bugs/ so
please provide the information it asks for. The preprocessed source will show
which time.h is being used (or you could check the preprocessed source
yourself, and see if it's including /usr/include/time.h or some other file).
More information about the Gcc-bugs
mailing list