Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc



Module Name:    src
Committed By:   christos
Date:           Wed Jan  7 22:44:43 UTC 2026

Modified Files:
        src/lib/libc: Makefile.inc
        src/lib/libc/time: localtime.c

Log Message:
Revert previous: Don't compile with -std=gnu2x. static_assert in pre 2023
environments is defined in assert.h. In 2013 assert.h was added to localtime.c
because a _DIAGASSERT was added which is no longer there. Remove assert.h since
it is no longer needed and the clang error goes away since static_assert is
no longer defined in pre-2023 environments. Thanks Paul Eggert.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/Makefile.inc
cvs rdiff -u -r1.149 -r1.150 src/lib/libc/time/localtime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index