Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
Description
In C+11 builds, we request C99, which makes timegm not exist, so we use the vendored copy. As it turns out, modern C+ compilers emit a warning/error when building that file:
rc/third_party/tz/timegm.c: In function 'gmtsub':
|
src/third_party/tz/timegm.c:186:14: error: the comparison will always evaluate as 'true' for the address of 'gmtmem' will never be NULL [-Werror=address]
|
if (gmtptr != NULL)
|
^
|