Hi all,

I just pushed a patch (a06c608625b1164890dc4358bdaa8d9164a87497) to treat 
`_Float16` as a `short` type in tcc
as a workaround for compilation errors caused by the latest `math.h` in the 
macOS SDK.
In the file, there are some new function prototypes for 16-bit floats,
which are unlikely to be used by TCC users,
but leads to much failure on macOS.

Before the patch:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:614:
>  error: ';' expected (got "__fabsf16”)

After the patch:
Nothing special happened.

Best,
Ruqing (waterlens)



_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to