[libc-commits] [libc] [libc] Update C symbols aliasing function declarations. (PR #77034)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Jan 5 09:18:34 PST 2024


https://github.com/nickdesaulniers requested changes to this pull request.

For my fullbuild with clang, for each of the functions modified in this patch, I observe the following build errors:

```
/android0/llvm-project/libc/src/stdlib/bsearch.cpp:16:7: error: 'bsearch' is missing exception specification 'throw()'
   16 | void *bsearch(const void *key, const void *array, size_t array_size,
      |       ^
   17 |               size_t elem_size, int (*compare)(const void *, const void *)) {
      |                                                                             throw()
/android0/llvm-project/libc/src/stdlib/bsearch.h:18:26: note: previous declaration is here
   18 | LIBC_FUNCTION_DECL void *bsearch(const void *key, const void *array,
      |                          ^
```

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


More information about the libc-commits mailing list