[libcxx-commits] [libcxx] [libcxx]support freestanding libc++ (PR #208900)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 12 19:23:37 PDT 2026


trcrsired wrote:

```
[otgnhon testing]$ x86_64-elf-g++ -v
Using built-in specs.
COLLECT_GCC=x86_64-elf-g++
COLLECT_LTO_WRAPPER=/home/otgnhon/toolchains/gnu/x86_64-linux-gnu/x86_64-elf/libexec/gcc/x86_64-elf/17.0.0/lto-wrapper
Target: x86_64-elf
Configured with: /home/otgnhon/toolchains_build/gcc/configure --disable-nls --disable-werror --disable-bootstrap --prefix=/home/otgnhon/toolchains/gnu/x86_64-linux-gnu/x86_64-elf --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-elf --disable-libstdcxx-verbose --enable-languages=c,c++ --disable-sjlj-exceptions --with-libstdcxx-eh-pool-obj-count=0 --disable-hosted-libstdcxx --without-headers --disable-threads --disable-shared --disable-libssp --disable-libquadmath --disable-libatomic --disable-libsanitizer --enable-multilib
Thread model: single
Supported LTO compression algorithms: zlib zstd
gcc version 17.0.0 20260713 (experimental) (GCC)
[otgnhon testing]$ x86_64-elf-g++ -S test2.cc -ffreestanding -I$HOME/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1
In file included from test2.cc:31:
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:106:9: error: 'div_t' has not been declared in '::'
  106 | using ::div_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:109:9: error: 'atof' has not been declared in '::'
  109 | using ::atof _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:110:9: error: 'atoi' has not been declared in '::'
  110 | using ::atoi _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:111:9: error: 'atol' has not been declared in '::'
  111 | using ::atol _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:112:9: error: 'atoll' has not been declared in '::'
  112 | using ::atoll _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:113:9: error: 'strtod' has not been declared in '::'
  113 | using ::strtod _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:114:9: error: 'strtof' has not been declared in '::'
  114 | using ::strtof _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:115:9: error: 'strtold' has not been declared in '::'
  115 | using ::strtold _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:116:9: error: 'strtol' has not been declared in '::'
  116 | using ::strtol _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:117:9: error: 'strtoll' has not been declared in '::'
  117 | using ::strtoll _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:118:9: error: 'strtoul' has not been declared in '::'
  118 | using ::strtoul _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:119:9: error: 'strtoull' has not been declared in '::'
  119 | using ::strtoull _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:120:9: error: 'rand' has not been declared in '::'
  120 | using ::rand _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:121:9: error: 'srand' has not been declared in '::'
  121 | using ::srand _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:122:9: error: 'calloc' has not been declared in '::'
  122 | using ::calloc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:123:9: error: 'free' has not been declared in '::'
  123 | using ::free _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:124:9: error: 'malloc' has not been declared in '::'
  124 | using ::malloc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:125:9: error: 'realloc' has not been declared in '::'
  125 | using ::realloc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:126:9: error: 'abort' has not been declared in '::'
  126 | using ::abort _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:127:9: error: 'atexit' has not been declared in '::'
  127 | using ::atexit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:128:9: error: 'exit' has not been declared in '::'
  128 | using ::exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:129:9: error: '_Exit' has not been declared in '::'
  129 | using ::_Exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:130:9: error: 'getenv' has not been declared in '::'
  130 | using ::getenv _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:131:9: error: 'system' has not been declared in '::'
  131 | using ::system _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:132:9: error: 'bsearch' has not been declared in '::'
  132 | using ::bsearch _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:133:9: error: 'qsort' has not been declared in '::'
  133 | using ::qsort _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:135:9: error: 'labs' has not been declared in '::'
  135 | using ::labs _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:136:9: error: 'llabs' has not been declared in '::'
  136 | using ::llabs _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:140:9: error: 'mblen' has not been declared in '::'
  140 | using ::mblen _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:148:9: error: 'at_quick_exit' has not been declared in '::'
  148 | using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:149:9: error: 'quick_exit' has not been declared in '::'
  149 | using ::quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdlib:152:9: error: 'aligned_alloc' has not been declared in '::'
  152 | using ::aligned_alloc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~~~
In file included from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__chrono/system_clock.h:16,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__chrono/high_resolution_clock.h:14,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__thread/poll_with_backoff.h:14,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__atomic/atomic_sync.h:18,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__atomic/atomic.h:12,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__atomic/aliases.h:12,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/atomic:605,
                 from test2.cc:45:
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:72:9: error: 'clock_t' has not been declared in '::'
   72 | using ::clock_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:74:9: error: 'tm' has not been declared in '::'
   74 | using ::tm _LIBCPP_USING_IF_EXISTS;
      |         ^~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:76:9: error: 'timespec' has not been declared in '::'
   76 | using ::timespec _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:78:9: error: 'clock' has not been declared in '::'
   78 | using ::clock _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:79:9: error: 'difftime' has not been declared in '::'
   79 | using ::difftime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:80:9: error: 'mktime' has not been declared in '::'
   80 | using ::mktime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:81:9: error: 'time' has not been declared in '::'
   81 | using ::time _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:82:9: error: 'asctime' has not been declared in '::'
   82 | using ::asctime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:83:9: error: 'ctime' has not been declared in '::'
   83 | using ::ctime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:84:9: error: 'gmtime' has not been declared in '::'
   84 | using ::gmtime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:85:9: error: 'localtime' has not been declared in '::'
   85 | using ::localtime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:86:9: error: 'strftime' has not been declared in '::'
   86 | using ::strftime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/ctime:88:9: error: 'timespec_get' has not been declared in '::'
   88 | using ::timespec_get _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~~
In file included from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__string/char_traits.h:29,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/__iterator/istreambuf_iterator.h:19,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/iterator:693,
                 from test2.cc:51:
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:120:9: error: 'FILE' has not been declared in '::'
  120 | using ::FILE _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:121:9: error: 'fpos_t' has not been declared in '::'
  121 | using ::fpos_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:123:9: error: 'fclose' has not been declared in '::'
  123 | using ::fclose _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:124:9: error: 'fflush' has not been declared in '::'
  124 | using ::fflush _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:125:9: error: 'setbuf' has not been declared in '::'
  125 | using ::setbuf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:126:9: error: 'setvbuf' has not been declared in '::'
  126 | using ::setvbuf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:127:9: error: 'fprintf' has not been declared in '::'
  127 | using ::fprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:128:9: error: 'fscanf' has not been declared in '::'
  128 | using ::fscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:129:9: error: 'snprintf' has not been declared in '::'
  129 | using ::snprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:130:9: error: 'sprintf' has not been declared in '::'
  130 | using ::sprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:131:9: error: 'sscanf' has not been declared in '::'
  131 | using ::sscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:132:9: error: 'vfprintf' has not been declared in '::'
  132 | using ::vfprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:133:9: error: 'vfscanf' has not been declared in '::'
  133 | using ::vfscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:134:9: error: 'vsscanf' has not been declared in '::'
  134 | using ::vsscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:135:9: error: 'vsnprintf' has not been declared in '::'
  135 | using ::vsnprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:136:9: error: 'vsprintf' has not been declared in '::'
  136 | using ::vsprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:137:9: error: 'fgetc' has not been declared in '::'
  137 | using ::fgetc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:138:9: error: 'fgets' has not been declared in '::'
  138 | using ::fgets _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:139:9: error: 'fputc' has not been declared in '::'
  139 | using ::fputc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:140:9: error: 'fputs' has not been declared in '::'
  140 | using ::fputs _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:141:9: error: 'getc' has not been declared in '::'
  141 | using ::getc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:142:9: error: 'putc' has not been declared in '::'
  142 | using ::putc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:143:9: error: 'ungetc' has not been declared in '::'
  143 | using ::ungetc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:144:9: error: 'fread' has not been declared in '::'
  144 | using ::fread _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:145:9: error: 'fwrite' has not been declared in '::'
  145 | using ::fwrite _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:146:9: error: 'fgetpos' has not been declared in '::'
  146 | using ::fgetpos _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:147:9: error: 'fseek' has not been declared in '::'
  147 | using ::fseek _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:148:9: error: 'fsetpos' has not been declared in '::'
  148 | using ::fsetpos _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:149:9: error: 'ftell' has not been declared in '::'
  149 | using ::ftell _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:150:9: error: 'rewind' has not been declared in '::'
  150 | using ::rewind _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:151:9: error: 'clearerr' has not been declared in '::'
  151 | using ::clearerr _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:152:9: error: 'feof' has not been declared in '::'
  152 | using ::feof _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:153:9: error: 'ferror' has not been declared in '::'
  153 | using ::ferror _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:154:9: error: 'perror' has not been declared in '::'
  154 | using ::perror _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:156:9: error: 'fopen' has not been declared in '::'
  156 | using ::fopen _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:157:9: error: 'freopen' has not been declared in '::'
  157 | using ::freopen _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:159:9: error: 'rename' has not been declared in '::'
  159 | using ::rename _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:160:9: error: 'tmpfile' has not been declared in '::'
  160 | using ::tmpfile _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:161:9: error: 'tmpnam' has not been declared in '::'
  161 | using ::tmpnam _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:163:9: error: 'getchar' has not been declared in '::'
  163 | using ::getchar _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:167:9: error: 'scanf' has not been declared in '::'
  167 | using ::scanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:168:9: error: 'vscanf' has not been declared in '::'
  168 | using ::vscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:170:9: error: 'printf' has not been declared in '::'
  170 | using ::printf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:171:9: error: 'putchar' has not been declared in '::'
  171 | using ::putchar _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:172:9: error: 'puts' has not been declared in '::'
  172 | using ::puts _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cstdio:173:9: error: 'vprintf' has not been declared in '::'
  173 | using ::vprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
In file included from test2.cc:63:
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:364:9: error: 'float_t' has not been declared in '::'
  364 | using ::float_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:365:9: error: 'double_t' has not been declared in '::'
  365 | using ::double_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:370:9: error: 'acosf' has not been declared in '::'
  370 | using ::acosf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:372:9: error: 'asinf' has not been declared in '::'
  372 | using ::asinf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:374:9: error: 'atanf' has not been declared in '::'
  374 | using ::atanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:378:9: error: 'ceilf' has not been declared in '::'
  378 | using ::ceilf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:380:9: error: 'cosf' has not been declared in '::'
  380 | using ::cosf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:382:9: error: 'coshf' has not been declared in '::'
  382 | using ::coshf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:385:9: error: 'expf' has not been declared in '::'
  385 | using ::expf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:388:9: error: 'fabsf' has not been declared in '::'
  388 | using ::fabsf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:390:9: error: 'floorf' has not been declared in '::'
  390 | using ::floorf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:393:9: error: 'fmodf' has not been declared in '::'
  393 | using ::fmodf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:396:9: error: 'frexpf' has not been declared in '::'
  396 | using ::frexpf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:398:9: error: 'ldexpf' has not been declared in '::'
  398 | using ::ldexpf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:401:9: error: 'logf' has not been declared in '::'
  401 | using ::logf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:404:9: error: 'log10f' has not been declared in '::'
  404 | using ::log10f _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:406:9: error: 'modff' has not been declared in '::'
  406 | using ::modff _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:409:9: error: 'powf' has not been declared in '::'
  409 | using ::powf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:412:9: error: 'sinf' has not been declared in '::'
  412 | using ::sinf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:414:9: error: 'sinhf' has not been declared in '::'
  414 | using ::sinhf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:417:9: error: 'sqrtf' has not been declared in '::'
  417 | using ::sqrtf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:419:9: error: 'tanf' has not been declared in '::'
  419 | using ::tanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:422:9: error: 'tanhf' has not been declared in '::'
  422 | using ::tanhf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:425:9: error: 'acoshf' has not been declared in '::'
  425 | using ::acoshf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:427:9: error: 'asinhf' has not been declared in '::'
  427 | using ::asinhf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:429:9: error: 'atanhf' has not been declared in '::'
  429 | using ::atanhf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:431:9: error: 'cbrtf' has not been declared in '::'
  431 | using ::cbrtf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:434:9: error: 'copysignf' has not been declared in '::'
  434 | using ::copysignf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:437:9: error: 'erff' has not been declared in '::'
  437 | using ::erff _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:439:9: error: 'erfcf' has not been declared in '::'
  439 | using ::erfcf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:441:9: error: 'exp2f' has not been declared in '::'
  441 | using ::exp2f _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:443:9: error: 'expm1f' has not been declared in '::'
  443 | using ::expm1f _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:445:9: error: 'fdimf' has not been declared in '::'
  445 | using ::fdimf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:446:9: error: 'fmaf' has not been declared in '::'
  446 | using ::fmaf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:449:9: error: 'fmaxf' has not been declared in '::'
  449 | using ::fmaxf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:451:9: error: 'fminf' has not been declared in '::'
  451 | using ::fminf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:453:9: error: 'hypotf' has not been declared in '::'
  453 | using ::hypotf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:455:9: error: 'ilogbf' has not been declared in '::'
  455 | using ::ilogbf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:457:9: error: 'lgammaf' has not been declared in '::'
  457 | using ::lgammaf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:459:9: error: 'llrintf' has not been declared in '::'
  459 | using ::llrintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:461:9: error: 'llroundf' has not been declared in '::'
  461 | using ::llroundf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:463:9: error: 'log1pf' has not been declared in '::'
  463 | using ::log1pf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:465:9: error: 'log2f' has not been declared in '::'
  465 | using ::log2f _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:467:9: error: 'logbf' has not been declared in '::'
  467 | using ::logbf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:469:9: error: 'lrintf' has not been declared in '::'
  469 | using ::lrintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:471:9: error: 'lroundf' has not been declared in '::'
  471 | using ::lroundf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:473:9: error: 'nan' has not been declared in '::'
  473 | using ::nan _LIBCPP_USING_IF_EXISTS;
      |         ^~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:474:9: error: 'nanf' has not been declared in '::'
  474 | using ::nanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:477:9: error: 'nearbyintf' has not been declared in '::'
  477 | using ::nearbyintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:479:9: error: 'nextafterf' has not been declared in '::'
  479 | using ::nextafterf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:481:9: error: 'nexttowardf' has not been declared in '::'
  481 | using ::nexttowardf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:483:9: error: 'remainderf' has not been declared in '::'
  483 | using ::remainderf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:485:9: error: 'remquof' has not been declared in '::'
  485 | using ::remquof _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:487:9: error: 'rintf' has not been declared in '::'
  487 | using ::rintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:489:9: error: 'roundf' has not been declared in '::'
  489 | using ::roundf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:491:9: error: 'scalblnf' has not been declared in '::'
  491 | using ::scalblnf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:493:9: error: 'scalbnf' has not been declared in '::'
  493 | using ::scalbnf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:495:9: error: 'tgammaf' has not been declared in '::'
  495 | using ::tgammaf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:497:9: error: 'truncf' has not been declared in '::'
  497 | using ::truncf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:499:9: error: 'acosl' has not been declared in '::'
  499 | using ::acosl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:500:9: error: 'asinl' has not been declared in '::'
  500 | using ::asinl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:501:9: error: 'atanl' has not been declared in '::'
  501 | using ::atanl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:503:9: error: 'ceill' has not been declared in '::'
  503 | using ::ceill _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:504:9: error: 'cosl' has not been declared in '::'
  504 | using ::cosl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:505:9: error: 'coshl' has not been declared in '::'
  505 | using ::coshl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:506:9: error: 'expl' has not been declared in '::'
  506 | using ::expl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:507:9: error: 'fabsl' has not been declared in '::'
  507 | using ::fabsl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:508:9: error: 'floorl' has not been declared in '::'
  508 | using ::floorl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:509:9: error: 'fmodl' has not been declared in '::'
  509 | using ::fmodl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:510:9: error: 'frexpl' has not been declared in '::'
  510 | using ::frexpl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:511:9: error: 'ldexpl' has not been declared in '::'
  511 | using ::ldexpl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:512:9: error: 'logl' has not been declared in '::'
  512 | using ::logl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:513:9: error: 'log10l' has not been declared in '::'
  513 | using ::log10l _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:514:9: error: 'modfl' has not been declared in '::'
  514 | using ::modfl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:515:9: error: 'powl' has not been declared in '::'
  515 | using ::powl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:516:9: error: 'sinl' has not been declared in '::'
  516 | using ::sinl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:517:9: error: 'sinhl' has not been declared in '::'
  517 | using ::sinhl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:518:9: error: 'sqrtl' has not been declared in '::'
  518 | using ::sqrtl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:519:9: error: 'tanl' has not been declared in '::'
  519 | using ::tanl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:521:9: error: 'tanhl' has not been declared in '::'
  521 | using ::tanhl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:522:9: error: 'acoshl' has not been declared in '::'
  522 | using ::acoshl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:523:9: error: 'asinhl' has not been declared in '::'
  523 | using ::asinhl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:524:9: error: 'atanhl' has not been declared in '::'
  524 | using ::atanhl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:525:9: error: 'cbrtl' has not been declared in '::'
  525 | using ::cbrtl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:527:9: error: 'copysignl' has not been declared in '::'
  527 | using ::copysignl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:529:9: error: 'erfl' has not been declared in '::'
  529 | using ::erfl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:530:9: error: 'erfcl' has not been declared in '::'
  530 | using ::erfcl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:531:9: error: 'exp2l' has not been declared in '::'
  531 | using ::exp2l _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:532:9: error: 'expm1l' has not been declared in '::'
  532 | using ::expm1l _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:533:9: error: 'fdiml' has not been declared in '::'
  533 | using ::fdiml _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:534:9: error: 'fmal' has not been declared in '::'
  534 | using ::fmal _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:535:9: error: 'fmaxl' has not been declared in '::'
  535 | using ::fmaxl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:536:9: error: 'fminl' has not been declared in '::'
  536 | using ::fminl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:537:9: error: 'hypotl' has not been declared in '::'
  537 | using ::hypotl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:538:9: error: 'ilogbl' has not been declared in '::'
  538 | using ::ilogbl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:539:9: error: 'lgammal' has not been declared in '::'
  539 | using ::lgammal _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:540:9: error: 'llrintl' has not been declared in '::'
  540 | using ::llrintl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:541:9: error: 'llroundl' has not been declared in '::'
  541 | using ::llroundl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:542:9: error: 'log1pl' has not been declared in '::'
  542 | using ::log1pl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:543:9: error: 'log2l' has not been declared in '::'
  543 | using ::log2l _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:544:9: error: 'logbl' has not been declared in '::'
  544 | using ::logbl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:545:9: error: 'lrintl' has not been declared in '::'
  545 | using ::lrintl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:546:9: error: 'lroundl' has not been declared in '::'
  546 | using ::lroundl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:547:9: error: 'nanl' has not been declared in '::'
  547 | using ::nanl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:548:9: error: 'nearbyintl' has not been declared in '::'
  548 | using ::nearbyintl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:549:9: error: 'nextafterl' has not been declared in '::'
  549 | using ::nextafterl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:550:9: error: 'nexttowardl' has not been declared in '::'
  550 | using ::nexttowardl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:551:9: error: 'remainderl' has not been declared in '::'
  551 | using ::remainderl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:552:9: error: 'remquol' has not been declared in '::'
  552 | using ::remquol _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:553:9: error: 'rintl' has not been declared in '::'
  553 | using ::rintl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:554:9: error: 'roundl' has not been declared in '::'
  554 | using ::roundl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:555:9: error: 'scalblnl' has not been declared in '::'
  555 | using ::scalblnl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:556:9: error: 'scalbnl' has not been declared in '::'
  556 | using ::scalbnl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:557:9: error: 'tgammal' has not been declared in '::'
  557 | using ::tgammal _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cmath:558:9: error: 'truncl' has not been declared in '::'
  558 | using ::truncl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
In file included from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwctype:56,
                 from /home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:116,
                 from test2.cc:65:
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:55:9: error: 'isalnum' has not been declared in '::'
   55 | using ::isalnum _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:56:9: error: 'isalpha' has not been declared in '::'
   56 | using ::isalpha _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:57:9: error: 'isblank' has not been declared in '::'
   57 | using ::isblank _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:58:9: error: 'iscntrl' has not been declared in '::'
   58 | using ::iscntrl _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:59:9: error: 'isdigit' has not been declared in '::'
   59 | using ::isdigit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:60:9: error: 'isgraph' has not been declared in '::'
   60 | using ::isgraph _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:61:9: error: 'islower' has not been declared in '::'
   61 | using ::islower _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:62:9: error: 'isprint' has not been declared in '::'
   62 | using ::isprint _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:63:9: error: 'ispunct' has not been declared in '::'
   63 | using ::ispunct _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:64:9: error: 'isspace' has not been declared in '::'
   64 | using ::isspace _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:65:9: error: 'isupper' has not been declared in '::'
   65 | using ::isupper _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:66:9: error: 'isxdigit' has not been declared in '::'
   66 | using ::isxdigit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:67:9: error: 'tolower' has not been declared in '::'
   67 | using ::tolower _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cctype:68:9: error: 'toupper' has not been declared in '::'
   68 | using ::toupper _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:135:9: error: 'tm' has not been declared in '::'
  135 | using ::tm _LIBCPP_USING_IF_EXISTS;
      |         ^~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:136:9: error: 'wint_t' has not been declared in '::'
  136 | using ::wint_t _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:137:9: error: 'FILE' has not been declared in '::'
  137 | using ::FILE _LIBCPP_USING_IF_EXISTS;
      |         ^~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:138:9: error: 'fwprintf' has not been declared in '::'
  138 | using ::fwprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:139:9: error: 'fwscanf' has not been declared in '::'
  139 | using ::fwscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:140:9: error: 'swprintf' has not been declared in '::'
  140 | using ::swprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:141:9: error: 'vfwprintf' has not been declared in '::'
  141 | using ::vfwprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:142:9: error: 'vswprintf' has not been declared in '::'
  142 | using ::vswprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:143:9: error: 'swscanf' has not been declared in '::'
  143 | using ::swscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:144:9: error: 'vfwscanf' has not been declared in '::'
  144 | using ::vfwscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:145:9: error: 'vswscanf' has not been declared in '::'
  145 | using ::vswscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:146:9: error: 'fgetwc' has not been declared in '::'
  146 | using ::fgetwc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:147:9: error: 'fgetws' has not been declared in '::'
  147 | using ::fgetws _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:148:9: error: 'fputwc' has not been declared in '::'
  148 | using ::fputwc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:149:9: error: 'fputws' has not been declared in '::'
  149 | using ::fputws _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:150:9: error: 'fwide' has not been declared in '::'
  150 | using ::fwide _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:151:9: error: 'getwc' has not been declared in '::'
  151 | using ::getwc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:152:9: error: 'putwc' has not been declared in '::'
  152 | using ::putwc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:153:9: error: 'ungetwc' has not been declared in '::'
  153 | using ::ungetwc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:154:9: error: 'wcstod' has not been declared in '::'
  154 | using ::wcstod _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:155:9: error: 'wcstof' has not been declared in '::'
  155 | using ::wcstof _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:156:9: error: 'wcstold' has not been declared in '::'
  156 | using ::wcstold _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:157:9: error: 'wcstol' has not been declared in '::'
  157 | using ::wcstol _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:158:9: error: 'wcstoll' has not been declared in '::'
  158 | using ::wcstoll _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:159:9: error: 'wcstoul' has not been declared in '::'
  159 | using ::wcstoul _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:160:9: error: 'wcstoull' has not been declared in '::'
  160 | using ::wcstoull _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:161:9: error: 'wcscpy' has not been declared in '::'
  161 | using ::wcscpy _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:162:9: error: 'wcsncpy' has not been declared in '::'
  162 | using ::wcsncpy _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:163:9: error: 'wcscat' has not been declared in '::'
  163 | using ::wcscat _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:164:9: error: 'wcsncat' has not been declared in '::'
  164 | using ::wcsncat _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:165:9: error: 'wcscmp' has not been declared in '::'
  165 | using ::wcscmp _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:166:9: error: 'wcscoll' has not been declared in '::'
  166 | using ::wcscoll _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:167:9: error: 'wcsncmp' has not been declared in '::'
  167 | using ::wcsncmp _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:168:9: error: 'wcsxfrm' has not been declared in '::'
  168 | using ::wcsxfrm _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:169:9: error: 'wcschr' has not been declared in '::'
  169 | using ::wcschr _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:170:9: error: 'wcspbrk' has not been declared in '::'
  170 | using ::wcspbrk _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:171:9: error: 'wcsrchr' has not been declared in '::'
  171 | using ::wcsrchr _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:172:9: error: 'wcsstr' has not been declared in '::'
  172 | using ::wcsstr _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:173:9: error: 'wmemchr' has not been declared in '::'
  173 | using ::wmemchr _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:174:9: error: 'wcscspn' has not been declared in '::'
  174 | using ::wcscspn _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:175:9: error: 'wcslen' has not been declared in '::'
  175 | using ::wcslen _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:176:9: error: 'wcsspn' has not been declared in '::'
  176 | using ::wcsspn _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:177:9: error: 'wcstok' has not been declared in '::'
  177 | using ::wcstok _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:178:9: error: 'wmemcmp' has not been declared in '::'
  178 | using ::wmemcmp _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:179:9: error: 'wmemcpy' has not been declared in '::'
  179 | using ::wmemcpy _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:180:9: error: 'wmemmove' has not been declared in '::'
  180 | using ::wmemmove _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:181:9: error: 'wmemset' has not been declared in '::'
  181 | using ::wmemset _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:182:9: error: 'wcsftime' has not been declared in '::'
  182 | using ::wcsftime _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:183:9: error: 'btowc' has not been declared in '::'
  183 | using ::btowc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:184:9: error: 'wctob' has not been declared in '::'
  184 | using ::wctob _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:185:9: error: 'mbsinit' has not been declared in '::'
  185 | using ::mbsinit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:186:9: error: 'mbrlen' has not been declared in '::'
  186 | using ::mbrlen _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:187:9: error: 'mbrtowc' has not been declared in '::'
  187 | using ::mbrtowc _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:188:9: error: 'wcrtomb' has not been declared in '::'
  188 | using ::wcrtomb _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:189:9: error: 'mbsrtowcs' has not been declared in '::'
  189 | using ::mbsrtowcs _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:190:9: error: 'wcsrtombs' has not been declared in '::'
  190 | using ::wcsrtombs _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:192:9: error: 'getwchar' has not been declared in '::'
  192 | using ::getwchar _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:193:9: error: 'vwscanf' has not been declared in '::'
  193 | using ::vwscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:194:9: error: 'wscanf' has not been declared in '::'
  194 | using ::wscanf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:196:9: error: 'putwchar' has not been declared in '::'
  196 | using ::putwchar _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:197:9: error: 'vwprintf' has not been declared in '::'
  197 | using ::vwprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:198:9: error: 'wprintf' has not been declared in '::'
  198 | using ::wprintf _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar: In function 'constexpr std::__1::size_t std::__1::__constexpr_wcslen(const wchar_t*)':
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:205:17: error: 'wcslen' is not a member of 'std'
  205 |     return std::wcslen(__str);
      |                 ^~~~~~
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar: In function 'constexpr int std::__1::__constexpr_wmemcmp(const wchar_t*, const wchar_t*, size_t)':
/home/otgnhon/toolchains/llvm/x86_64-elf/x86_64-elf/include/c++/v1/cwchar:220:17: error: 'wmemcmp' is not a member of 'std'
  220 |     return std::wmemcmp(__lhs, __rhs, __count);
      |                 ^~~~~~~

```

just way too many for gcc

https://github.com/llvm/llvm-project/pull/208900


More information about the libcxx-commits mailing list