nuttx/libs/libm
fangxinyong 507056e870 cmake(bugfix):fix arch x86_64 cmake build openlibm warning
Building C object libs/libm/openlibm/CMakeFiles/m.dir/openlibm/src/s_clog.c.obj
In file included from /work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/src/math_private.h:22,
                 from /work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/src/s_clog.c:61:
/work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/src/s_clog.c:78:33: warning: ‘clogl’ alias between functions of incompatible types ‘_Complex long double(_Complex long double)’ and ‘_Complex double(_Complex double)’ [-Wattribute-alias=]
   78 | openlibm_strong_reference(clog, clogl);
      |                                 ^~~~~
/work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/src/cdefs-compat.h:24:50: note: in definition of macro ‘openlibm_strong_reference’
   24 |         OLM_DLLEXPORT extern __typeof (aliassym) aliassym __attribute__ ((__alias__ (#sym)));
      |                                                  ^~~~~~~~
/work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/src/s_clog.c:64:1: note: aliased declaration here
   64 | clog(double complex z)

Building C object libs/libm/openlibm/CMakeFiles/m.dir/openlibm/amd64/fenv.c.obj
In file included from /work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/include/openlibm_fenv.h:8,
                 from /work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/amd64/fenv.c:35:
/work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/include/openlibm_fenv_amd64.h:99:1: warning: declaration of ‘feclearexcept’ shadows a built-in function [-Wshadow]
   99 | feclearexcept(int __excepts)
      | ^~~~~~~~~~~~~
/work/rel-5.0/nuttx/libs/libm/openlibm/openlibm/include/openlibm_fenv_amd64.h:117:1: warning: declaration of ‘fegetexceptflag’ shadows a built-in function [-Wshadow]
  117 | fegetexceptflag(fexcept_t *__flagp, int __excepts)

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2026-01-19 23:26:14 +08:00
..
libm libm: prevent atanf() yielding NaN for high inputs values. 2026-01-15 16:19:52 -03:00
libmcs style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
newlib libm/newlib: Include fenv sources for all ARCHs and extend x86 includes 2025-11-30 20:43:58 +08:00
openlibm cmake(bugfix):fix arch x86_64 cmake build openlibm warning 2026-01-19 23:26:14 +08:00
.gitignore esp32: Use newlib-esp32 2023-09-14 19:33:50 +08:00
CMakeLists.txt libs/libm: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
Kconfig libs/libm: fix typo in Kconfig 2025-12-09 18:03:10 +08:00
libm.csv nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
Makefile libm: fix typo caused compile failed 2024-11-14 19:38:58 +08:00