[libcxx-commits] [libcxx] [libcxx] Undefine all supported C math	functions (PR #94533)
    Petr Hosek via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Thu Jun  6 00:52:42 PDT 2024
    
    
  
petrhosek wrote:
We trying to use libc++ with FreeRTOS which defines some of the `math.h` standard C library functions as macros which is allowed by the C standard but it breaks libc++ headers. libc++ should undefine the macro before providing the symbol of the same name (just like it already does for some of them).
https://github.com/llvm/llvm-project/pull/94533
    
    
More information about the libcxx-commits
mailing list