nuttx/include/cxx
nicolasWDC 794f0c2ce9 include/cxx/ctime: Add localtime to std namespace.
NuttX time.h declares localtime in the global namespace, but the C++
ctime shim does not import it into namespace std.

As a result, valid C++ code using std::localtime fails to compile with
the NuttX C++ headers, even though ::localtime is available.

Add using ::localtime to include/cxx/ctime.

Signed-off-by: nicolasWDC <nicolasWDC@users.noreply.github.com>
2026-06-09 11:33:40 -03:00
..
cassert include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cctype include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cerrno include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cinttypes include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
climits include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
clocale include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cmath include/cxx/cmath: Define FLT_EVAL_METHOD from compiler builtin 2026-06-08 15:31:31 -03:00
csignal include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdarg include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdbool include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstddef cxx/cstddef: expose 'max_align_t' 2025-12-09 18:03:10 +08:00
cstdint include: Author: Gregory Nutt: update licenses to Apache 2.0 2021-02-04 03:33:58 -08:00
cstdio include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdlib !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
cstring include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ctime include/cxx/ctime: Add localtime to std namespace. 2026-06-09 11:33:40 -03:00
cwchar include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cwctype include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00